测试去掉

zw
lxw 6 months ago
parent cd1dd348d9
commit ee839afe66

@ -32,35 +32,9 @@ public class MonitorService
var configBinInfo =
new MapperConfiguration(cfg => cfg.CreateMap<StepModel, SwappingStateInfoResp>().ReverseMap());
IMapper mapperBinInfo = configBinInfo.CreateMapper();
List<SwappingStateInfoResp> stateInfoList = new List<SwappingStateInfoResp>()
{
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<SwappingStateInfoResp> stateInfoList =
mapperBinInfo.Map<List<SwappingStateInfoResp>>(StationSoftMgr.SwappingStateMachine.StepModel);*/
List<SwappingStateInfoResp> stateInfoList =
mapperBinInfo.Map<List<SwappingStateInfoResp>>(StationSoftMgr.SwappingStateMachine.StepModel);
var tboxCarInfoModel = StationSoftMgr.SwappingStateMachine.BoxCarInfoModel;

Loading…
Cancel
Save