恢复小车

dep
我叫锄头 11 months ago
parent 2217e77968
commit 8240b9f7c8

@ -26,10 +26,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
} }
public class HslAgvCarEntity //public class HslAgvCarEntity
{ //{
public HslAgvCar HslAgvCar1 { get; set; } // public HslAgvCar HslAgvCar1 { get; set; }
} //}
public class HslLanternSimpleEntity public class HslLanternSimpleEntity
{ {

@ -89,7 +89,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
//控件实体类 //控件实体类
HslLanternAlarmEntity HslAlarmE = new HslLanternAlarmEntity(); HslLanternAlarmEntity HslAlarmE = new HslLanternAlarmEntity();
HslAgvCarEntity hslAgvCarEntity = new HslAgvCarEntity(); // HslAgvCarEntity hslAgvCarEntity = new HslAgvCarEntity();
HslLanternSimpleEntity HslLanternSimpleE = new HslLanternSimpleEntity(); HslLanternSimpleEntity HslLanternSimpleE = new HslLanternSimpleEntity();
MCLabelEntity LabelE = new MCLabelEntity(); MCLabelEntity LabelE = new MCLabelEntity();
@ -180,7 +180,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
private void SetAllControls() private void SetAllControls()
{ {
ControlsHelper.ControlImport<HslLanternAlarm>(HslAlarmE, Controls); ControlsHelper.ControlImport<HslLanternAlarm>(HslAlarmE, Controls);
ControlsHelper.ControlImport<HslAgvCar>(hslAgvCarEntity, Controls); // ControlsHelper.ControlImport<HslAgvCar>(hslAgvCarEntity, Controls);
ControlsHelper.ControlImport<HslLanternSimple>(HslLanternSimpleE, Controls); ControlsHelper.ControlImport<HslLanternSimple>(HslLanternSimpleE, Controls);
ControlsHelper.ControlImport<MCLabel>(LabelE, Controls); ControlsHelper.ControlImport<MCLabel>(LabelE, Controls);
@ -339,7 +339,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
//目前只有主线程可以 //目前只有主线程可以
//小车到位信号 //小车到位信号
ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm1, hslAgvCarEntity.HslAgvCar1, reachSingle[0]); ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm1, reachSingle[0]);
ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm2, reachSingle[1]); ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm2, reachSingle[1]);
ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm3, reachSingle[2]); ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm3, reachSingle[2]);
ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm4, reachSingle[3]); ControlsHelper.SetHslLanternAlarm(HslAlarmE.HslLanternAlarm4, reachSingle[3]);

Loading…
Cancel
Save