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); }
public DeviceEventArgs(Device device) { Device = device; }
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; }