|
|
@ -491,7 +491,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Bin = byteTransform.TransUInt16(bytes, 0),
|
|
|
|
Bin = byteTransform.TransUInt16(bytes, 0),
|
|
|
|
Set = byteTransform.TransSingle(bytes, 2),
|
|
|
|
Set = byteTransform.TransSingle(bytes, 2),
|
|
|
|
TolErance = byteTransform.TransSingle(bytes, 6)
|
|
|
|
Tolerance = byteTransform.TransSingle(bytes, 6)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ls.Add(plcView);
|
|
|
|
ls.Add(plcView);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -539,7 +539,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Bin = byteTransform.TransUInt16(bytes, 0),
|
|
|
|
Bin = byteTransform.TransUInt16(bytes, 0),
|
|
|
|
Set = byteTransform.TransSingle(bytes, 2),
|
|
|
|
Set = byteTransform.TransSingle(bytes, 2),
|
|
|
|
TolErance = byteTransform.TransSingle(bytes, 6)
|
|
|
|
Tolerance = byteTransform.TransSingle(bytes, 6)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ls.Add(plcView);
|
|
|
|
ls.Add(plcView);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -674,7 +674,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
int set = start + 2;
|
|
|
|
int set = start + 2;
|
|
|
|
PlcConnect.Instance.Write($"DB2104.{set}.0", view.Set);
|
|
|
|
PlcConnect.Instance.Write($"DB2104.{set}.0", view.Set);
|
|
|
|
int tolerance = start + 6;
|
|
|
|
int tolerance = start + 6;
|
|
|
|
PlcConnect.Instance.Write($"DB2104.{tolerance}.0", view.TolErance);
|
|
|
|
PlcConnect.Instance.Write($"DB2104.{tolerance}.0", view.Tolerance);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -724,7 +724,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
ls.Add(new RecipePlcView()
|
|
|
|
ls.Add(new RecipePlcView()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Bin = 0,
|
|
|
|
Bin = 0,
|
|
|
|
TolErance = 0,
|
|
|
|
Tolerance = 0,
|
|
|
|
Set = 0
|
|
|
|
Set = 0
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|