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