ReadFeededDry

dep
我叫锄头 12 months ago
parent a8df236d9c
commit 4a6be9a74c

@ -283,7 +283,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
}
ReadFlag += 1;
if(ReadFlag >= 60)
if(ReadFlag >= 10)
{
ReadFlag = 0;
ReportReadDb.ReadFeededDry();

@ -37,7 +37,6 @@ namespace Mesnac.Action.ChemicalWeighing.Report
public static void ReadFeededDry()
{
LoggingService<ReportReadDb>.Debug("读取加料信息"+DateTime.Now.ToString());
DB2105Helper dB2105Helper = new DB2105Helper();
List<bool> list=dB2105Helper.FeededDryList();
for (int i = 0; i < list.Count; i++)
@ -49,8 +48,10 @@ namespace Mesnac.Action.ChemicalWeighing.Report
var deviceno = (i + 3) / 2;
// 螺旋1启动向湿混机1
string logName = $"螺旋{deviceno}启动向湿混机{i + 1}";
LoggingService<ReportReadDb>.Info(logName);
var value = Convert.ToInt32(Convert.ToDouble(feedValue));
LoggingService<ReportReadDb>.Info(logName+":"+feedValue);
ManualLogControl(logName, value, 5, i + 1);
DB2105WriteHelper.WriteFalseFeededDry(i + 1);
}

Loading…
Cancel
Save