修改点位

dep_deliver
杨威 6 months ago
parent 6d15427e38
commit 7ba2510fb0

@ -602,21 +602,24 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
PlcTemp.Bottle14_Set = DB120.SiloN;
PlcTemp.Bottle15_Set = DB120.SiloO;
PlcTemp.Cabinet1 = MReadHelp.ReadCabinet()[0];
PlcTemp.Cabinet2 = MReadHelp.ReadCabinet()[1];
PlcTemp.Cabinet3 = MReadHelp.ReadCabinet()[2];
PlcTemp.Cabinet4 = MReadHelp.ReadCabinet()[3];
PlcTemp.Cabinet5 = MReadHelp.ReadCabinet()[4];
PlcTemp.Cabinet6 = MReadHelp.ReadCabinet()[5];
PlcTemp.Cabinet7 = MReadHelp.ReadCabinet()[6];
PlcTemp.Cabinet8 = MReadHelp.ReadCabinet()[7];
PlcTemp.Cabinet9 = MReadHelp.ReadCabinet()[8];
PlcTemp.Cabinet10 = MReadHelp.ReadCabinet()[9];
PlcTemp.Cabinet11 = MReadHelp.ReadCabinet()[10];
PlcTemp.Cabinet12 = MReadHelp.ReadCabinet()[11];
PlcTemp.Cabinet13 = MReadHelp.ReadCabinet()[12];
PlcTemp.Cabinet14 = MReadHelp.ReadCabinet()[13];
PlcTemp.Cabinet15 = MReadHelp.ReadCabinet()[14];
var bbb = MReadHelp.ReadCabinet();
PlcTemp.Cabinet1 = bbb[0];
PlcTemp.Cabinet2 = bbb[1];
PlcTemp.Cabinet3 = bbb[2];
PlcTemp.Cabinet4 = bbb[3];
PlcTemp.Cabinet5 = bbb[4];
PlcTemp.Cabinet6 = bbb[5];
PlcTemp.Cabinet7 = bbb[6];
PlcTemp.Cabinet8 = bbb[7];
PlcTemp.Cabinet9 = bbb[8];
PlcTemp.Cabinet10 = bbb[9];
PlcTemp.Cabinet11 = bbb[10];
PlcTemp.Cabinet12 = bbb[11];
PlcTemp.Cabinet13 = bbb[12];
PlcTemp.Cabinet14 = bbb[13];
PlcTemp.Cabinet15 = bbb[14];
PlcTemp.Steps1 = new bool[7]
{

@ -41,10 +41,11 @@ namespace DataBlockHelper.DBHelpers
p.ReadBool("M2017.7").Content,
p.ReadBool("M2018.0").Content,
p.ReadBool("M2018.1").Content,
p.ReadBool("M2030.0").Content,
p.ReadBool("M2030.1").Content,
p.ReadBool("M2030.2").Content,
p.ReadBool("M2030.3").Content,
p.ReadBool("M2201.4").Content,
p.ReadBool("M2201.5").Content,
p.ReadBool("M2201.6").Content,
p.ReadBool("M2201.7").Content,
p.ReadBool("M2018.2").Content,
};

Loading…
Cancel
Save