change - 优化MCRun配置

dep
wangsr 11 months ago
parent 8bce475064
commit 0371df185e

@ -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);
@ -411,7 +411,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG7, ch.G7); ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG7, ch.G7);
ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG8, ch.G8); ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG8, ch.G8);
var db2105=new DB2105Helper(); var db2105 = new DB2105Helper();
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW1, db2105.FeededCW1); ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW1, db2105.FeededCW1);
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW2, db2105.FeededCW2); ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW2, db2105.FeededCW2);
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW3, db2105.FeededCW3); ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW3, db2105.FeededCW3);

Loading…
Cancel
Save