change - 规范代码

wangsr
wangsr 1 year ago
parent 27ab6500c7
commit 40199b6cde

@ -232,6 +232,8 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
MessageBox.Show("请选择一条产线!"); MessageBox.Show("请选择一条产线!");
return; return;
} }
MessageBox.Show("数据下传成功!");
} }
#endregion #endregion

@ -59,21 +59,24 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
ControlsEntity.ChooseMaterial2.SelectedIndex = -1; ControlsEntity.ChooseMaterial2.SelectedIndex = -1;
} }
ControlsEntity.MaterialWeight1.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipePlcViews[0].Set; var getGelatG1 = LjPlanningPlcHelp.GetGelatG1;
ControlsEntity.MaterialWeight2.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipePlcViews[1].Set; var getWeterM1 = LjPlanningPlcHelp.GetWeterM1;
ControlsEntity.MaterialTolerance1.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipePlcViews[0].Tolerance;
ControlsEntity.MaterialTolerance2.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipePlcViews[1].Tolerance; ControlsEntity.MaterialWeight1.MCValue = getGelatG1.RecipePlcViews[0].Set;
ControlsEntity.GelSpeedSet.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[0].MixSpeed; ControlsEntity.MaterialWeight2.MCValue = getGelatG1.RecipePlcViews[1].Set;
ControlsEntity.GelPosTimeA.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[2].MixTemp; ControlsEntity.MaterialTolerance1.MCValue = getGelatG1.RecipePlcViews[0].Tolerance;
ControlsEntity.GelNagTimeB.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[2].MixSpeed; ControlsEntity.MaterialTolerance2.MCValue = getGelatG1.RecipePlcViews[1].Tolerance;
ControlsEntity.GelPosTimeC.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[2].MixTime; ControlsEntity.GelSpeedSet.MCValue = getGelatG1.RecipeSteps[0].MixSpeed;
ControlsEntity.GelWaterTime.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[4].MixTime; ControlsEntity.GelPosTimeA.MCValue = getGelatG1.RecipeSteps[2].MixTemp;
ControlsEntity.GelWaitTime.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[6].MixTime; ControlsEntity.GelNagTimeB.MCValue = getGelatG1.RecipeSteps[2].MixSpeed;
ControlsEntity.GelCloseHeatTime.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[7].MixTime; ControlsEntity.GelPosTimeC.MCValue = getGelatG1.RecipeSteps[2].MixTime;
ControlsEntity.GelOutDelayTime.MCValue = LjPlanningPlcHelp.GetGelatG1.RecipeSteps[7].MixTemp; ControlsEntity.GelWaterTime.MCValue = getGelatG1.RecipeSteps[4].MixTime;
ControlsEntity.WetDryWeight.MCValue = LjPlanningPlcHelp.GetWeterM1[1].SetValue; ControlsEntity.GelWaitTime.MCValue = getGelatG1.RecipeSteps[6].MixTime;
ControlsEntity.WetMixTime.MCValue = LjPlanningPlcHelp.GetWeterM1[2].MixTime; ControlsEntity.GelCloseHeatTime.MCValue = getGelatG1.RecipeSteps[7].MixTime;
ControlsEntity.WetOutDelayTime.MCValue = LjPlanningPlcHelp.GetWeterM1[4].MixTime; ControlsEntity.GelOutDelayTime.MCValue = getGelatG1.RecipeSteps[7].MixTemp;
ControlsEntity.WetDryWeight.MCValue = getWeterM1[1].SetValue;
ControlsEntity.WetMixTime.MCValue = getWeterM1[2].MixTime;
ControlsEntity.WetOutDelayTime.MCValue = getWeterM1[4].MixTime;
} }
/// <summary> /// <summary>

Loading…
Cancel
Save