GetWaterStatus 修改成静态类

dep
我叫锄头 12 months ago
parent de01c734b9
commit ec346e4e91

@ -78,7 +78,9 @@ namespace Mesnac.Action.ChemicalWeighing.Test
private void MCButton_Click(object sender, EventArgs e) private void MCButton_Click(object sender, EventArgs e)
{ {
ReportReadDb.ReadFeededDry(); // ReportReadDb.ReadFeededDry();
var list= DB2105WriteHelper.GetWaterStatus();
} }
} }
} }

@ -671,7 +671,7 @@ namespace DataBlockHelper.DBHelpers
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public List<bool> GetWaterStatus() public static List<bool> GetWaterStatus()
{ {
var siemensS7Net = PlcConnect.Instance; var siemensS7Net = PlcConnect.Instance;
List<bool> status = new List<bool>(); List<bool> status = new List<bool>();

Loading…
Cancel
Save