Wms 预任务执行,新增Agv任务,呼梯任务,电梯任务条件过滤进行区分
This commit is contained in:
@@ -37,8 +37,17 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
while (!stoppingToken.IsCancellationRequested)
|
||||
{
|
||||
await HttpClientHelper.GetAsync(_elevatorControlConfiguration.WriteTagUrl, parameter);
|
||||
await Task.Delay(TimeSpan.FromMinutes(1));
|
||||
try
|
||||
{
|
||||
var result = await HttpClientHelper.GetAsync(_elevatorControlConfiguration.WriteTagUrl, pars: parameter);
|
||||
await Console.Out.WriteLineAsync($"心跳检测结果:{result}");
|
||||
await Task.Delay(TimeSpan.FromSeconds(5));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
throw;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user