예제 #1
0
 public void Deserialize(byte[] buffer)
 {
     try
     {
         this.Device = new sconnDevice(buffer);
     }
     catch (Exception e)
     {
         _logger.Error(e, e.Message);
     }
 }
예제 #2
0
 public void Fake()
 {
     try
     {
         sconnDevice zone = new sconnDevice();
         zone.Fake();
         this.Device = zone;
     }
     catch (Exception e)
     {
         _logger.Error(e, e.Message);
     }
 }
예제 #3
0
 public sconnDeviceConfig(byte Id)
 {
     Device = new sconnDevice {
         Id = Id
     };
 }