diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs index 5f9f0d3..439fdb6 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs @@ -133,9 +133,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning Dowd(begin, view); begin += 10; } - - - + begin = 1038; for (int i = 0; i < recipeSteps.Count(); i++) { @@ -490,7 +488,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning RecipePlcView plcView = new RecipePlcView { Bin = byteTransform.TransUInt16(bytes, 0), - Set = byteTransform.TransSingle(bytes, 2), + Set = byteTransform.TransUInt16(bytes, 2), Tolerance = byteTransform.TransSingle(bytes, 6) }; ls.Add(plcView); @@ -538,7 +536,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning RecipePlcView plcView = new RecipePlcView { Bin = byteTransform.TransUInt16(bytes, 0), - Set = byteTransform.TransSingle(bytes, 2), + Set = byteTransform.TransUInt16(bytes, 2), Tolerance = byteTransform.TransSingle(bytes, 6) }; ls.Add(plcView);