|
|
@ -1,8 +1,7 @@
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
using HybirdFrameworkCore.Entity;
|
|
|
|
using HybirdFrameworkCore.Entity;
|
|
|
|
using log4net;
|
|
|
|
|
|
|
|
using HybirdFrameworkDriver.TcpClient;
|
|
|
|
using HybirdFrameworkDriver.TcpClient;
|
|
|
|
|
|
|
|
using log4net;
|
|
|
|
using Decoder = Service.Padar.Codec.Decoder;
|
|
|
|
using Decoder = Service.Padar.Codec.Decoder;
|
|
|
|
using Encoder = Service.Padar.Codec.Encoder;
|
|
|
|
using Encoder = Service.Padar.Codec.Encoder;
|
|
|
|
|
|
|
|
|
|
|
@ -29,6 +28,11 @@ public class PadarClient : TcpClient<IBaseHandler, Decoder, Encoder>
|
|
|
|
Log.Info($"padar connect succeed");
|
|
|
|
Log.Info($"padar connect succeed");
|
|
|
|
return Connected;
|
|
|
|
return Connected;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public override ILog Logger()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return Log;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 0-关闭雷达 1-开启
|
|
|
|
/// 0-关闭雷达 1-开启
|
|
|
|