private string GetDevice(GSDeviceZone gSDeviceZone) { string tmp = gSDeviceZone.ToString(); if (tmp.StartsWith("RgbZonedDevice")) { return("rgb-zoned-device"); } return(ConverToGSFormat(tmp.Split('_')[0])); }
private string GetZone(GSDeviceZone gSDeviceZone) { string tmp = gSDeviceZone.ToString(); return(ConverToGSFormat(tmp.Split('_')[1])); }
private void SetDevice(GSDeviceZone gSDeviceZone) { device = GetDevice(gSDeviceZone); }
private void SetZone(GSDeviceZone gSDeviceZone) { zone = GetZone(gSDeviceZone); }