Pending Emails new insert statement
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
namespace CommonConsole
|
||||
{
|
||||
using Common.Hardware.WaterMeter.eRegister;
|
||||
using Common.Hardware.WaterMeter.OmniPlus;
|
||||
using Common.UI.WPFConnector;
|
||||
|
||||
using System;
|
||||
@@ -21,16 +22,23 @@
|
||||
//connector.RunCommands();
|
||||
|
||||
|
||||
var connector = EregisterConnector.CreateNew("COM6", 1000);
|
||||
//var connector = EregisterConnector.CreateNew("COM6", 1000);
|
||||
|
||||
connector.Add(1, 0319020415, 0319020415);//433
|
||||
connector.AddHexCommand(1, "00-00");
|
||||
connector.Add(2, 0319020441, 0319020441);//433
|
||||
connector.AddHexCommand(2, "00-00");
|
||||
connector.Add(3, 4291317405, 4291317405);//433
|
||||
connector.AddHexCommand(3, "00-00");
|
||||
//connector.Add(1, 0319020415, 0319020415);//433
|
||||
//connector.AddHexCommand(1, "00-00");
|
||||
//connector.Add(2, 0319020441, 0319020441);//433
|
||||
//connector.AddHexCommand(2, "00-00");
|
||||
//connector.Add(3, 4291317405, 4291317405);//433
|
||||
//connector.AddHexCommand(3, "00-00");
|
||||
|
||||
connector.InitInspection();
|
||||
//connector.InitInspection();
|
||||
|
||||
var connection = new OmniConnection();
|
||||
connection.UseUniPro("COM16");
|
||||
|
||||
var system = connection.ViewSystemParameters();
|
||||
|
||||
connection.Disconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user