public static ColorHandler Create(DeviceZone.AbstractIlluminationDevice_Zone dz, IlluminationMode mode, ColorStatic color) { ColorHandler ch = Create(dz, mode); ch.color_static = color; return(ch); }
public static ColorHandler Create(DeviceZone.AbstractIlluminationDevice_Zone dz, IlluminationMode mode, ColorRanges color, RateRange rate) { ColorHandler ch = Create(dz, mode); ch.color_range = color; ch.rate_range = rate; return(ch); }
public static ColorHandler Create(DeviceZone.AbstractIlluminationDevice_Zone dz, IlluminationMode mode, ColorGradient color, RateStatic rate) { ColorHandler ch = Create(dz, mode); ch.color_gradient = color; ch.rate_static = rate; return(ch); }
private static ColorHandler Create(DeviceZone.AbstractIlluminationDevice_Zone dz, IlluminationMode mode) { ColorHandler ch = _new(); ch.deviceZone = dz; ch.mode = mode; ch._rateMode = RateMode.None; return(ch); }