From ee839afe66e874ea6cdd51d68212d214fe8c76af Mon Sep 17 00:00:00 2001 From: lxw Date: Tue, 4 Jun 2024 13:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Station/MonitorService.cs | 32 +++---------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/Service/Station/MonitorService.cs b/Service/Station/MonitorService.cs index 1f0ef40..3e32a91 100644 --- a/Service/Station/MonitorService.cs +++ b/Service/Station/MonitorService.cs @@ -32,35 +32,9 @@ public class MonitorService var configBinInfo = new MapperConfiguration(cfg => cfg.CreateMap().ReverseMap()); IMapper mapperBinInfo = configBinInfo.CreateMapper(); - List stateInfoList = new List() - { - new SwappingStateInfoResp() - { - StepName = "空闲1", - StepNo = 1, - StartTime = DateTime.Now - }, - new SwappingStateInfoResp() - { - StepName = "空闲2", - StepNo = 2, - StartTime = DateTime.Now - }, - new SwappingStateInfoResp() - { - StepName = "空闲3", - StepNo = 3, - StartTime = DateTime.Now - }, - new SwappingStateInfoResp() - { - StepName = "空闲4", - StepNo = 4, - StartTime = DateTime.Now - }, - }; - /*List stateInfoList = - mapperBinInfo.Map>(StationSoftMgr.SwappingStateMachine.StepModel);*/ + + List stateInfoList = + mapperBinInfo.Map>(StationSoftMgr.SwappingStateMachine.StepModel); var tboxCarInfoModel = StationSoftMgr.SwappingStateMachine.BoxCarInfoModel;