|
|
|
@ -59,6 +59,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
ThreeWayValveEntity ThreeWayValveE = new ThreeWayValveEntity();
|
|
|
|
|
LjSwitchEntity LjSwitchE = new LjSwitchEntity();
|
|
|
|
|
MCLabelEntity LabelE = new MCLabelEntity();
|
|
|
|
|
ControlCabinetEntity CabinetE = new ControlCabinetEntity();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警滚动条
|
|
|
|
|
/// </summary>
|
|
|
|
@ -103,6 +105,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
ControlsHelper.ControlImport<ThreeWayValve>(ThreeWayValveE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<LjSwith>(LjSwitchE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<MCLabel>(LabelE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<ControlCabinet>(CabinetE, Controls);
|
|
|
|
|
|
|
|
|
|
this.AlarmMoveText.Font = new Font("宋体", 15f, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
|
|
|
this.AlarmMoveText.ForeColor = Color.White;
|
|
|
|
@ -408,6 +411,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
PlcTemp.DM1DSM01_Alarm = DB91.DM1DSM01.Alarm;
|
|
|
|
|
PlcTemp.DM2DSM01_Alarm = DB91.DM2DSM01.Alarm;
|
|
|
|
|
PlcTemp.DM3DSM01_Alarm = DB91.DM3DSM01.Alarm;
|
|
|
|
|
|
|
|
|
|
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.DM1ASIG01_Alarm = DB91.DM1ASIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1BSIG01_Alarm = DB91.DM1BSIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1CSIG01_Alarm = DB91.DM1CSIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1DSIG01_Alarm = DB91.DM1DSIG01.Alarm;
|
|
|
|
|
PlcTemp.DM1ESIG01_Alarm = DB91.DM1ESIG01.Alarm;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void DBOtherGetData()
|
|
|
|
@ -607,6 +623,23 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void DBOtherSetData()
|
|
|
|
|