|
|
|
@ -206,7 +206,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
|
|
|
|
|
|
|
|
|
|
string str = MotorSelect.MCValue.ToString();
|
|
|
|
|
int value = Convert.ToInt32(str);
|
|
|
|
|
if (value < 32)
|
|
|
|
|
if (value <= 32)
|
|
|
|
|
{
|
|
|
|
|
ControlsHelper.WriteMode(str, false);
|
|
|
|
|
}
|
|
|
|
@ -226,7 +226,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
|
|
|
|
|
|
|
|
|
|
string str = MotorSelect.MCValue.ToString();
|
|
|
|
|
int value = Convert.ToInt32(str);
|
|
|
|
|
if (value < 32)
|
|
|
|
|
if (value <= 32)
|
|
|
|
|
{
|
|
|
|
|
ControlsHelper.WriteMode(str, true);
|
|
|
|
|
}
|
|
|
|
@ -242,7 +242,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
|
|
|
|
|
string str = MotorSelect.MCValue.ToString();
|
|
|
|
|
byte byt = ControlsHelper.ReadMode(name);
|
|
|
|
|
int value = Convert.ToInt32(str);
|
|
|
|
|
if (value < 32)
|
|
|
|
|
if (value <= 32)
|
|
|
|
|
{
|
|
|
|
|
if (byt.GetBit(3))
|
|
|
|
|
{
|
|
|
|
@ -291,7 +291,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
|
|
|
|
|
string str = MotorSelect.MCValue.ToString();
|
|
|
|
|
byte byt = ControlsHelper.ReadMode(name);
|
|
|
|
|
int value = Convert.ToInt32(str);
|
|
|
|
|
if (value < 32)
|
|
|
|
|
if (value <= 32)
|
|
|
|
|
{
|
|
|
|
|
if (byt.GetBit(5))
|
|
|
|
|
{
|
|
|
|
|