diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/GelerWeterControl.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/GelerWeterControl.cs index 49c8c29..dd18b26 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/GelerWeterControl.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/GelerWeterControl.cs @@ -28,7 +28,8 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl McControls = GetAllControls(); ControlImport(); - + + BottomSelect(runtime); } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerDb.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerDb.cs index 80217ce..f5ab70c 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerDb.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMixManager/LjMixManagerDb.cs @@ -271,7 +271,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager { Bin = Convert.ToUInt16(dataTableRow["Code"]), Set = Convert.ToSingle(dataTableRow["Weight"]), - TolErance = Convert.ToSingle(dataTableRow["Weight"]) + Tolerance = Convert.ToSingle(dataTableRow["Weight"]) }; list.Add(view); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs index d127718..e16c41e 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/DownloadAction.cs @@ -521,7 +521,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = x.BinNo, Set = x.Weight, - TolErance = x.Tolerance + Tolerance = x.Tolerance }).ToList(); unitView.H1 = dataDry1CPlcView; @@ -553,7 +553,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = x.BinNo, Set = x.Weight, - TolErance = x.Tolerance + Tolerance = x.Tolerance }).ToList(); unitView.H1 = dataSilo1CPlcView; @@ -564,7 +564,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = x.BinNo, Set = x.Weight, - TolErance = x.Tolerance + Tolerance = x.Tolerance }).ToList(); unitView.H2 = dataSilo1CWaterPlcView; @@ -601,7 +601,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = x.BinNo, Set = x.Weight, - TolErance = x.Tolerance + Tolerance = x.Tolerance }).ToList(); unitView.H1 = dataSilo2CPlcView; @@ -637,7 +637,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = 0, Set = 0, - TolErance = 0 + Tolerance = 0 }); } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs index cca7333..5ad27b6 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPlanning/LjPlanningPlcHelp.cs @@ -491,7 +491,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = byteTransform.TransUInt16(bytes, 0), Set = byteTransform.TransSingle(bytes, 2), - TolErance = byteTransform.TransSingle(bytes, 6) + Tolerance = byteTransform.TransSingle(bytes, 6) }; ls.Add(plcView); } @@ -539,7 +539,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning { Bin = byteTransform.TransUInt16(bytes, 0), Set = byteTransform.TransSingle(bytes, 2), - TolErance = byteTransform.TransSingle(bytes, 6) + Tolerance = byteTransform.TransSingle(bytes, 6) }; ls.Add(plcView); } @@ -674,7 +674,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning int set = start + 2; PlcConnect.Instance.Write($"DB2104.{set}.0", view.Set); 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() { Bin = 0, - TolErance = 0, + Tolerance = 0, Set = 0 }); diff --git a/DataBlockHelper/DBHelpers/DB2104Helper.cs b/DataBlockHelper/DBHelpers/DB2104Helper.cs index 1809ffc..38fe00c 100644 --- a/DataBlockHelper/DBHelpers/DB2104Helper.cs +++ b/DataBlockHelper/DBHelpers/DB2104Helper.cs @@ -87,7 +87,7 @@ namespace DataBlockHelper.DBHelpers { Bin = instanceByteTransform.TransInt16(ls, 0), Set = instanceByteTransform.TransSingle(ls, 2), - TolErance = instanceByteTransform.TransSingle(ls, 6) + Tolerance = instanceByteTransform.TransSingle(ls, 6) }; return entity; } diff --git a/DataBlockHelper/DBHelpers/DB2104WriteHelper.cs b/DataBlockHelper/DBHelpers/DB2104WriteHelper.cs index f7a9fbd..3ec31d0 100644 --- a/DataBlockHelper/DBHelpers/DB2104WriteHelper.cs +++ b/DataBlockHelper/DBHelpers/DB2104WriteHelper.cs @@ -62,7 +62,7 @@ namespace DataBlockHelper.DBHelpers var siemensS7Net = PlcConnect.Instance; siemensS7Net.Write($"{DbName}:{start}.0", entity.Bin); siemensS7Net.Write($"{DbName}:{start+2}.0", entity.Set); - siemensS7Net.Write($"{DbName}:{start+6}.0", entity.TolErance); + siemensS7Net.Write($"{DbName}:{start+6}.0", entity.Tolerance); } } } \ No newline at end of file