Exemplo n.º 1
0
        private string GetDevice(GSDeviceZone gSDeviceZone)
        {
            string tmp = gSDeviceZone.ToString();

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

            return(ConverToGSFormat(tmp.Split('_')[1]));
        }
Exemplo n.º 3
0
 private void SetDevice(GSDeviceZone gSDeviceZone)
 {
     device = GetDevice(gSDeviceZone);
 }
Exemplo n.º 4
0
 private void SetZone(GSDeviceZone gSDeviceZone)
 {
     zone = GetZone(gSDeviceZone);
 }