修复bug

dep
我叫锄头 11 months ago
parent 049c3d54f1
commit 57108c0275

@ -73,7 +73,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
return; return;
} }
if (!SetValueWithJudge(conveyorTimerA, if (!SetValueWithJudge(conveyorTimerB,
Convert.ToInt16(BoxE.BTimeSetValue1.MCValue.ToString()), Convert.ToInt16(BoxE.BTimeSetValue1.MCValue.ToString()),
Convert.ToInt16(BoxE.BTimeSetValue2.MCValue.ToString()))) Convert.ToInt16(BoxE.BTimeSetValue2.MCValue.ToString())))
{ {
@ -81,7 +81,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
return; return;
} }
if (!SetValueWithJudge(conveyorTimerA, if (!SetValueWithJudge(conveyorTimerC,
Convert.ToInt16(BoxE.CTimeSetValue1.MCValue.ToString()), Convert.ToInt16(BoxE.CTimeSetValue1.MCValue.ToString()),
Convert.ToInt16(BoxE.CTimeSetValue2.MCValue.ToString()))) Convert.ToInt16(BoxE.CTimeSetValue2.MCValue.ToString())))
{ {
@ -92,6 +92,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
DB112WriterHelper.AddConveyorA(conveyorA); DB112WriterHelper.AddConveyorA(conveyorA);
DB112WriterHelper.AddConveyorB(conveyorB); DB112WriterHelper.AddConveyorB(conveyorB);
DB112WriterHelper.AddConveyorC(conveyorC); DB112WriterHelper.AddConveyorC(conveyorC);
DB112WriterHelper.AddConveyorTimerA(conveyorTimerA); DB112WriterHelper.AddConveyorTimerA(conveyorTimerA);
DB112WriterHelper.AddConveyorTimerB(conveyorTimerB); DB112WriterHelper.AddConveyorTimerB(conveyorTimerB);
DB112WriterHelper.AddConveyorTimerC(conveyorTimerC); DB112WriterHelper.AddConveyorTimerC(conveyorTimerC);
@ -105,13 +106,13 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
if (JudgeValue(v1) && JudgeValue(v2) && JudgeValue(v3) && JudgeValue(v4) && JudgeValue(v5) && JudgeValue(v6) && JudgeValue(v7) && JudgeValue(v8)) if (JudgeValue(v1) && JudgeValue(v2) && JudgeValue(v3) && JudgeValue(v4) && JudgeValue(v5) && JudgeValue(v6) && JudgeValue(v7) && JudgeValue(v8))
{ {
conveyor.SetValue1 = v1; conveyor.SetValue1 = v1;
conveyor.SetValue2 = v1; conveyor.SetValue2 = v2;
conveyor.SetValue3 = v1; conveyor.SetValue3 = v3;
conveyor.SetValue4 = v1; conveyor.SetValue4 = v4;
conveyor.SetValue5 = v1; conveyor.SetValue5 = v5;
conveyor.SetValue6 = v1; conveyor.SetValue6 = v6;
conveyor.SetValue7 = v1; conveyor.SetValue7 = v7;
conveyor.SetValue8 = v1; conveyor.SetValue8 = v8;
return true; return true;
} }
else else

Loading…
Cancel
Save