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;
 }