Solution builds successfully
This commit is contained in:
@@ -12,23 +12,29 @@
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
var connection = new OmniIrdaConnection("COM36");
|
||||
connection.StateChenged += Console.WriteLine;
|
||||
connection.Open();
|
||||
|
||||
if (connection.FactorySeal().Sealed)
|
||||
{
|
||||
var _sealed = connection.FactorySeal(false);
|
||||
}
|
||||
|
||||
var response = connection.Set(new BuildInfo
|
||||
{
|
||||
Value = "816232411982"
|
||||
});
|
||||
|
||||
connection.Close();
|
||||
var a = 816242311982;
|
||||
var b = (int)a;
|
||||
|
||||
Console.WriteLine(a);
|
||||
Console.WriteLine(b);
|
||||
Console.ReadKey();
|
||||
//var connection = new OmniIrdaConnection("COM36");
|
||||
//connection.StateChenged += Console.WriteLine;
|
||||
//connection.Open();
|
||||
|
||||
//if (connection.FactorySeal().Sealed)
|
||||
//{
|
||||
// var _sealed = connection.FactorySeal(false);
|
||||
//}
|
||||
|
||||
//var response = connection.Set(new BuildInfo
|
||||
//{
|
||||
// Value = "816232411982"
|
||||
//});
|
||||
|
||||
//connection.Close();
|
||||
|
||||
//Console.ReadKey();
|
||||
|
||||
//response = connection.ClearDisplay();
|
||||
//response = connection.Set(new LeakAlarm
|
||||
|
||||
Reference in New Issue
Block a user