|
|
@ -7,7 +7,7 @@ using Service.WaterCool.Client;
|
|
|
|
namespace Service.Job;
|
|
|
|
namespace Service.Job;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 每秒发送水冷固定帧
|
|
|
|
/// 每秒发送水冷
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[Scope]
|
|
|
|
[Scope]
|
|
|
|
public class SendWaterCoolJob : AbstractCronJob
|
|
|
|
public class SendWaterCoolJob : AbstractCronJob
|
|
|
@ -30,10 +30,9 @@ public class SendWaterCoolJob : AbstractCronJob
|
|
|
|
if (client.IsConnect && client.IsWaterCoolSend)
|
|
|
|
if (client.IsConnect && client.IsWaterCoolSend)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
client.Send();
|
|
|
|
client.Send();
|
|
|
|
Log.Info($"水冷固定帧发送成功");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Log.Info($"水冷发送成功");
|
|
|
|
return Task.CompletedTask;
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|