DB2107WriteHelper.CleanSpare(deviceno);

dep
我叫锄头 11 months ago
parent 0a51acac3a
commit 5ef5b7db2f

@ -43,6 +43,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report
if (nornalStatus.spare1)
{
FeededDry(1, dB2111Helper.DryDosing_A);
}
if (nornalStatus.spare2)
@ -133,7 +134,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report
private static void FeededDry(int deviceno, ReportDosEntity entity)
{
DB2107WriteHelper.CleanSpare(deviceno);
int no = deviceno * 2;
if (entity.eqNo == 1)
{
@ -143,6 +144,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report
string logName = $"用户[{UserInfo.Instance.UserName}] 螺旋{deviceno}向湿混机 [{no}] 投料 {actValue}";
LoggingService<ReportReadDb>.Info(logName);
LjLogControl.ManualLogControl(logName, actValue, 4, no, 2);
DB2107WriteHelper.CleanSpare(deviceno);
}

@ -16,6 +16,9 @@ namespace DataBlockHelper.DBHelpers
siemensS7Net.Write($"{DbName}.8.{dian}", false);
}
public static void CleanWater(int no)
{
int dian = no + 1;

Loading…
Cancel
Save