|
|
@ -4,7 +4,6 @@ using Mesnac.Controls.Base;
|
|
|
|
using Mesnac.Controls.ChemicalWeighing;
|
|
|
|
using Mesnac.Controls.ChemicalWeighing;
|
|
|
|
using Mesnac.Controls.Default;
|
|
|
|
using Mesnac.Controls.Default;
|
|
|
|
using Mesnac.Controls.Feeding;
|
|
|
|
using Mesnac.Controls.Feeding;
|
|
|
|
using Mesnac.Core.Service;
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
@ -30,6 +29,7 @@ using Mesnac.Action.ChemicalWeighing.ManualControl;
|
|
|
|
using DevExpress.Pdf.Native;
|
|
|
|
using DevExpress.Pdf.Native;
|
|
|
|
using DevExpress.Utils.Drawing.Helpers;
|
|
|
|
using DevExpress.Utils.Drawing.Helpers;
|
|
|
|
using Mesnac.Action.ChemicalWeighing.InterfaceDocking;
|
|
|
|
using Mesnac.Action.ChemicalWeighing.InterfaceDocking;
|
|
|
|
|
|
|
|
using Mesnac.Action.ChemicalWeighing.Report;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -50,6 +50,9 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
|
|
|
|
|
|
|
int LineKindFlag = 0;
|
|
|
|
int LineKindFlag = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//读取报表
|
|
|
|
|
|
|
|
ushort ReadFlag = 0;
|
|
|
|
|
|
|
|
|
|
|
|
//DataTable ParametersWithPCTable = new DataTable();
|
|
|
|
//DataTable ParametersWithPCTable = new DataTable();
|
|
|
|
|
|
|
|
|
|
|
|
//所有Alarm点位
|
|
|
|
//所有Alarm点位
|
|
|
@ -283,6 +286,12 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind7, dict[7]);
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind7, dict[7]);
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ReadFlag += 1;
|
|
|
|
|
|
|
|
if(ReadFlag >= 60)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ReadFlag = 0;
|
|
|
|
|
|
|
|
ReportReadDb.ReadFeededDry();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var reachSingle = RgvPlcUtil.GetRGVAllError();
|
|
|
|
var reachSingle = RgvPlcUtil.GetRGVAllError();
|
|
|
|
var mixSingle = Db3000Helper.ReadDb();
|
|
|
|
var mixSingle = Db3000Helper.ReadDb();
|
|
|
|