|
|
@ -61,12 +61,13 @@ namespace Mesnac.Action.ChemicalWeighing.Report
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//水
|
|
|
|
///热水秤A
|
|
|
|
|
|
|
|
|
|
|
|
if (nornalStatus.RdyRpt_W1)
|
|
|
|
if (nornalStatus.RdyRpt_W1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FeededWaterHA(dB2111Helper.hwReport_A);
|
|
|
|
FeededWaterHA(dB2111Helper.hwReport_A);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
///冷水秤A
|
|
|
|
if (nornalStatus.RdyRpt_W2)
|
|
|
|
if (nornalStatus.RdyRpt_W2)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FeededWaterCA(dB2111Helper.cwReport_A);
|
|
|
|
FeededWaterCA(dB2111Helper.cwReport_A);
|
|
|
@ -77,6 +78,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FeededWaterHB(dB2111Helper.hwReport_B);
|
|
|
|
FeededWaterHB(dB2111Helper.hwReport_B);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
///冷水秤B
|
|
|
|
if (nornalStatus.RdyRpt_W4)
|
|
|
|
if (nornalStatus.RdyRpt_W4)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FeededWaterCB(dB2111Helper.cwReport_B);
|
|
|
|
FeededWaterCB(dB2111Helper.cwReport_B);
|
|
|
@ -123,6 +125,11 @@ namespace Mesnac.Action.ChemicalWeighing.Report
|
|
|
|
DB2107WriteHelper.CleanWater(4);
|
|
|
|
DB2107WriteHelper.CleanWater(4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 解决算法有问题
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <param name="deviceno"></param>
|
|
|
|
|
|
|
|
/// <param name="entity"></param>
|
|
|
|
|
|
|
|
|
|
|
|
private static void FeededDry(int deviceno, ReportDosEntity entity)
|
|
|
|
private static void FeededDry(int deviceno, ReportDosEntity entity)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -130,7 +137,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report
|
|
|
|
int no = deviceno * 2;
|
|
|
|
int no = deviceno * 2;
|
|
|
|
if (entity.eqNo == 1)
|
|
|
|
if (entity.eqNo == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
no = deviceno-1;
|
|
|
|
no = no - 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var actValue = Convert.ToInt32(entity.actValue);
|
|
|
|
var actValue = Convert.ToInt32(entity.actValue);
|
|
|
|
string logName = $"螺旋{deviceno}向湿混机 [{no}] 投料 {actValue}";
|
|
|
|
string logName = $"螺旋{deviceno}向湿混机 [{no}] 投料 {actValue}";
|
|
|
|