Example #1
0
        public MasterDeviceCommunication(MasterDevice device)
        {
            Device = device;

            if (Device != null)
            {
                Device.StatusChanged += OnDeviceStatusChanged;
            }
        }
Example #2
0
 /// <summary>
 /// MasterVcs
 /// </summary>
 /// <param name="device"></param>
 public MasterVcs(MasterDevice device)
     : base(device.CloudAgent, device, device.CloudAgent.UpdateInterval, device.CloudAgent.Timeout)
 {
     Device = device;
 }
Example #3
0
 /// <summary>
 /// MasterVcs
 /// </summary>
 /// <param name="device"></param>
 /// <param name="updateInterval"></param>
 /// <param name="timeout"></param>
 public MasterVcs(MasterDevice device, uint updateInterval, uint timeout)
     : base(device.CloudAgent.Url, device.CloudAgent.ChannelId, device.CloudAgent.Identity, updateInterval, timeout)
 {
     Device = device;
 }