|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|