|
|
@ -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]);
|
|
|
|