|
|
@ -298,10 +298,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ReadFlag += 1;
|
|
|
|
ReadFlag += 1;
|
|
|
|
if (ReadFlag >= 10)
|
|
|
|
if (ReadFlag >= 20)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ReadFlag = 0;
|
|
|
|
ReadFlag = 0;
|
|
|
|
var readName = UserInfo.Instance.RealName;
|
|
|
|
|
|
|
|
if (UserJudge.IsNormalUser())
|
|
|
|
if (UserJudge.IsNormalUser())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ReportReadDb.ReadFeededDry();
|
|
|
|
ReportReadDb.ReadFeededDry();
|
|
|
@ -842,33 +842,34 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PlcReadTemp.DV2PCP01_SetL = DB2102.DV2PCP01.SetLeft;
|
|
|
|
//位置获取的不对 不应该获取set LeftPosition
|
|
|
|
PlcReadTemp.DV2PCP02_SetL = DB2102.DV2PCP02.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP01_SetL = DB2102.DV2PCP01.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP03_SetL = DB2102.DV2PCP03.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP02_SetL = DB2102.DV2PCP02.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP04_SetL = DB2102.DV2PCP04.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP03_SetL = DB2102.DV2PCP03.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP05_SetL = DB2102.DV2PCP05.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP04_SetL = DB2102.DV2PCP04.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP06_SetL = DB2102.DV2PCP06.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP05_SetL = DB2102.DV2PCP05.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP07_SetL = DB2102.DV2PCP07.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP06_SetL = DB2102.DV2PCP06.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP08_SetL = DB2102.DV2PCP08.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP07_SetL = DB2102.DV2PCP07.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP09_SetL = DB2102.DV2PCP09.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP08_SetL = DB2102.DV2PCP08.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP10_SetL = DB2102.DV2PCP10.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP09_SetL = DB2102.DV2PCP09.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP11_SetL = DB2102.DV2PCP11.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP10_SetL = DB2102.DV2PCP10.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP12_SetL = DB2102.DV2PCP12.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP11_SetL = DB2102.DV2PCP11.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP13_SetL = DB2102.DV2PCP13.SetLeft;
|
|
|
|
PlcReadTemp.DV2PCP12_SetL = DB2102.DV2PCP12.LeftPosition;
|
|
|
|
|
|
|
|
PlcReadTemp.DV2PCP13_SetL = DB2102.DV2PCP13.LeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP01_SetR = DB2102.DV2PCP01.SetRight;
|
|
|
|
|
|
|
|
PlcReadTemp.DV2PCP02_SetR = DB2102.DV2PCP02.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP01_SetR = DB2102.DV2PCP01.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP03_SetR = DB2102.DV2PCP03.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP02_SetR = DB2102.DV2PCP02.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP04_SetR = DB2102.DV2PCP04.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP03_SetR = DB2102.DV2PCP03.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP05_SetR = DB2102.DV2PCP05.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP04_SetR = DB2102.DV2PCP04.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP06_SetR = DB2102.DV2PCP06.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP05_SetR = DB2102.DV2PCP05.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP07_SetR = DB2102.DV2PCP07.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP06_SetR = DB2102.DV2PCP06.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP08_SetR = DB2102.DV2PCP08.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP07_SetR = DB2102.DV2PCP07.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP09_SetR = DB2102.DV2PCP09.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP08_SetR = DB2102.DV2PCP08.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP10_SetR = DB2102.DV2PCP10.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP09_SetR = DB2102.DV2PCP09.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP11_SetR = DB2102.DV2PCP11.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP10_SetR = DB2102.DV2PCP10.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP12_SetR = DB2102.DV2PCP12.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP11_SetR = DB2102.DV2PCP11.RightPosition;
|
|
|
|
PlcReadTemp.DV2PCP13_SetR = DB2102.DV2PCP13.SetRight;
|
|
|
|
PlcReadTemp.DV2PCP12_SetR = DB2102.DV2PCP12.RightPosition;
|
|
|
|
|
|
|
|
PlcReadTemp.DV2PCP13_SetR = DB2102.DV2PCP13.RightPosition;
|
|
|
|
|
|
|
|
|
|
|
|
PlcReadTemp.DV2PCP01_AlarmL = DB2102.DV2PCP01.AlarmLeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP01_AlarmL = DB2102.DV2PCP01.AlarmLeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP02_AlarmL = DB2102.DV2PCP02.AlarmLeftPosition;
|
|
|
|
PlcReadTemp.DV2PCP02_AlarmL = DB2102.DV2PCP02.AlarmLeftPosition;
|
|
|
|