|
|
|
@ -60,6 +60,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
LjSwitchEntity LjSwitchE = new LjSwitchEntity();
|
|
|
|
|
MCLabelEntity LabelE = new MCLabelEntity();
|
|
|
|
|
ControlCabinetEntity CabinetE = new ControlCabinetEntity();
|
|
|
|
|
FanEntity FanE = new FanEntity();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警滚动条
|
|
|
|
@ -106,6 +107,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
ControlsHelper.ControlImport<LjSwith>(LjSwitchE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<MCLabel>(LabelE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<ControlCabinet>(CabinetE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<Fan>(FanE, Controls);
|
|
|
|
|
|
|
|
|
|
this.AlarmMoveText.Font = new Font("宋体", 15f, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
|
|
this.AlarmMoveText.ForeColor = Color.White;
|
|
|
|
@ -412,12 +414,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
PlcTemp.DM2DSM01_Alarm = DB91.DM2DSM01.Alarm;
|
|
|
|
|
PlcTemp.DM3DSM01_Alarm = DB91.DM3DSM01.Alarm;
|
|
|
|
|
|
|
|
|
|
PlcTemp.DM1GDP01_Set = DB91.DM1GDP01.Running;
|
|
|
|
|
PlcTemp.DM1ASIG01_Set = DB91.DM1ASIG01.Running;
|
|
|
|
|
PlcTemp.DM1BSIG01_Set = DB91.DM1BSIG01.Running;
|
|
|
|
|
PlcTemp.DM1CSIG01_Set = DB91.DM1CSIG01.Running;
|
|
|
|
|
PlcTemp.DM1DSIG01_Set = DB91.DM1DSIG01.Running;
|
|
|
|
|
PlcTemp.DM1ESIG01_Set = DB91.DM1ESIG01.Running;
|
|
|
|
|
|
|
|
|
|
PlcTemp.DM1GDP01_Alarm = DB91.DM1GDP01.Alarm;
|
|
|
|
|
PlcTemp.DM1ASIG01_Alarm = DB91.DM1ASIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1BSIG01_Alarm = DB91.DM1BSIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1CSIG01_Alarm = DB91.DM1CSIG01.Alarm;
|
|
|
|
@ -620,25 +624,16 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
|
|
|
|
|
private void DB91SetData()
|
|
|
|
|
{
|
|
|
|
|
ControlsHelper.SetSwitchLight(SwitchlightE.DM1DSM01, PlcTemp.DM1DSM01_Set, PlcTemp.DM1DSM01_Alarm);
|
|
|
|
|
ControlsHelper.SetSwitchLight(SwitchlightE.DM2DSM01, PlcTemp.DM2DSM01_Set, PlcTemp.DM2DSM01_Alarm);
|
|
|
|
|
ControlsHelper.SetSwitchLight(SwitchlightE.DM3DSM01, PlcTemp.DM3DSM01_Set, PlcTemp.DM3DSM01_Alarm);
|
|
|
|
|
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1ASIG011, PlcTemp.DM1ASIG01_Set, PlcTemp.DM1ASIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1ASIG012, PlcTemp.DM1ASIG01_Set, PlcTemp.DM1ASIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1ASIG013, PlcTemp.DM1ASIG01_Set, PlcTemp.DM1ASIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1ASIG014, PlcTemp.DM1ASIG01_Set, PlcTemp.DM1ASIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1BSIG011, PlcTemp.DM1BSIG01_Set, PlcTemp.DM1BSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1BSIG012, PlcTemp.DM1BSIG01_Set, PlcTemp.DM1BSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1CSIG011, PlcTemp.DM1CSIG01_Set, PlcTemp.DM1CSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1CSIG012, PlcTemp.DM1CSIG01_Set, PlcTemp.DM1CSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1CSIG013, PlcTemp.DM1CSIG01_Set, PlcTemp.DM1CSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1CSIG014, PlcTemp.DM1CSIG01_Set, PlcTemp.DM1CSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1DSIG011, PlcTemp.DM1DSIG01_Set, PlcTemp.DM1DSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1DSIG012, PlcTemp.DM1DSIG01_Set, PlcTemp.DM1DSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1DSIG013, PlcTemp.DM1DSIG01_Set, PlcTemp.DM1DSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1DSIG014, PlcTemp.DM1DSIG01_Set, PlcTemp.DM1DSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetControlCabinet(CabinetE.DM1ESIG01, PlcTemp.DM1ESIG01_Set, PlcTemp.DM1ESIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1DSM01, PlcTemp.DM1DSM01_Set, PlcTemp.DM1DSM01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM2DSM01, PlcTemp.DM2DSM01_Set, PlcTemp.DM2DSM01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM3DSM01, PlcTemp.DM3DSM01_Set, PlcTemp.DM3DSM01_Alarm);
|
|
|
|
|
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1ASIG01, PlcTemp.DM1ASIG01_Set, PlcTemp.DM1ASIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1BSIG01, PlcTemp.DM1BSIG01_Set, PlcTemp.DM1BSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1CSIG01, PlcTemp.DM1CSIG01_Set, PlcTemp.DM1CSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1DSIG01, PlcTemp.DM1DSIG01_Set, PlcTemp.DM1DSIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1ESIG01, PlcTemp.DM1ESIG01_Set, PlcTemp.DM1ESIG01_Alarm);
|
|
|
|
|
ControlsHelper.SetFan(FanE.DM1GDP01, PlcTemp.DM1GDP01_Set, PlcTemp.DM1GDP01_Alarm);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|