Beispiel #1
0
        private string GetDevice(GSDeviceZone gSDeviceZone)
        {
            string tmp = gSDeviceZone.ToString();

            if (tmp.StartsWith("RgbZonedDevice"))
            {
                return("rgb-zoned-device");
            }
            return(ConverToGSFormat(tmp.Split('_')[0]));
        }
Beispiel #2
0
        private string GetZone(GSDeviceZone gSDeviceZone)
        {
            string tmp = gSDeviceZone.ToString();

            return(ConverToGSFormat(tmp.Split('_')[1]));
        }