|
|
@ -622,11 +622,13 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
|
|
|
|
Db3000Helper.WriteModel(SingleSelect(), true);
|
|
|
|
Db3000Helper.WriteModel(SingleSelect(), true);
|
|
|
|
ControlsEntity.RepairState.MCValue = "开";
|
|
|
|
ControlsEntity.RepairState.MCValue = "开";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
if (ControlsEntity.RepairState.MCValue.ToString() == "开")
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Db3000Helper.WriteModel(SingleSelect(), false);
|
|
|
|
if (ControlsEntity.RepairState.MCValue.ToString() == "开")
|
|
|
|
ControlsEntity.RepairState.MCValue = "关";
|
|
|
|
{
|
|
|
|
|
|
|
|
Db3000Helper.WriteModel(SingleSelect(), false);
|
|
|
|
|
|
|
|
ControlsEntity.RepairState.MCValue = "关";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
MessageBox.Show("维修模式已开启");
|
|
|
|
MessageBox.Show("维修模式已开启");
|
|
|
|