sql command .SetParameter for datetime with check for datetime not less than 1753-01-01 12:00:00
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
namespace CommonConsole
|
||||
{
|
||||
using Common.Hardware.WaterMeter.OmniPlus;
|
||||
using Common.Utils.Extensions;
|
||||
|
||||
using System;
|
||||
@@ -9,9 +10,20 @@
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
var econnector = new EregisterConnector.EregisterConnector();
|
||||
var connection = new OmniConnection();
|
||||
connection.UseIrda("COM40");
|
||||
|
||||
econnector.InitInspection();
|
||||
var _params = connection.ViewSystemParameters();
|
||||
|
||||
var x1 = connection.FactorySeal(false);
|
||||
var x2 = connection.FactorySeal(true);
|
||||
var x3 = connection.FactorySeal(false);
|
||||
|
||||
connection.Disconnect();
|
||||
|
||||
//var econnector = new EregisterConnector.EregisterConnector();
|
||||
|
||||
//econnector.InitInspection();
|
||||
}
|
||||
|
||||
//var payloadLength = 32;
|
||||
|
||||
Reference in New Issue
Block a user