internal void UpdateFromProxy(Proxy_Data_source proxy) { this.name_label = (proxy.name_label == null) ? null : proxy.name_label; this.name_description = (proxy.name_description == null) ? null : proxy.name_description; this.enabled = proxy.enabled; this.standard = proxy.standard; this.units = (proxy.units == null) ? null : proxy.units; this.min = Convert.ToDouble(proxy.min); this.max = Convert.ToDouble(proxy.max); this.value = Convert.ToDouble(proxy.value); }
public Data_source(Proxy_Data_source proxy) { this.UpdateFromProxy(proxy); }