public void AddDevice(Device device,Point position)
 {
     var dev = new DeviceTumbnail();
     dev.Name = device.Name;
     dev.Center = position;
     Devices.Add(device.TagValue.ToString(),dev);
     this.Add(dev);
 }
Пример #2
0
 public DeviceEventArgs(Device device)
 {
     Device = device;
 }
Пример #3
0
 public ConnectedClient(string name, string ip, Device devi) 
 {
     Name = name;
     Ip = ip;
     Device = devi; 
 }
 public void UpdateDevice(Device device)
 {
     Devices[device.TagValue.ToString()].Name = device.Name;
 }