呼梯时,到指定目标楼层,根据任务的start_floor来
This commit is contained in:
@@ -33,10 +33,10 @@ namespace Tnb.WarehouseMgr
|
||||
private static Dictionary<string, Func<BackgroundService, bool>> _fetchStartedStausValue = new();
|
||||
private bool isFrontDoorBit = false; //是否到前门位
|
||||
|
||||
public ElevatorControlService(BackgroundService agvHeartbeatMonitorService)
|
||||
public ElevatorControlService()
|
||||
{
|
||||
_elevatorCtlCfg = App.Configuration.Build<ElevatorControlConfiguration>();
|
||||
_agvHeartbeatMonitor = agvHeartbeatMonitorService;
|
||||
//_agvHeartbeatMonitor = agvHeartbeatMonitorService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -107,7 +107,7 @@ namespace Tnb.WarehouseMgr
|
||||
public async Task<dynamic> ThreeFloorElevatorFlow()
|
||||
{
|
||||
//test by close door
|
||||
_agvHeartbeatMonitor.StartAsync(CancellationToken.None);
|
||||
//_agvHeartbeatMonitor.StartAsync(CancellationToken.None);
|
||||
//await SendOpenCloseCmd(4);
|
||||
//await SetAgvControlStatus(1);
|
||||
//监听电梯门是否为关闭的状态
|
||||
|
||||
Reference in New Issue
Block a user