コード例 #1
0
            public static ColorHandler Create(DeviceZone.AbstractIlluminationDevice_Zone dz, IlluminationMode mode, ColorStatic color)
            {
                ColorHandler ch = Create(dz, mode);

                ch.color_static = color;
                return(ch);
            }
コード例 #2
0
            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);
            }
コード例 #3
0
            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);
            }
コード例 #4
0
            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);
            }