Merge branch 'dep_deliver' of http://175.27.215.92:3000/yangw/lj_plc into dep_deliver

dep
wangsr 11 months ago
commit b6664f8e09

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

Loading…
Cancel
Save