public void setColorLightBlue(bool signal) { lock (color_light_lock) { ColorLightValueDefMapAction mapAction = getMapActionByIdentityKey(nameof(ColorLightValueDefMapAction)) as ColorLightValueDefMapAction; mapAction.sendColorLightBlueSignal(signal); } }
public void setColorLightRedWithBuzzer(bool buzzer_signal, bool light_signal) { lock (color_light_lock) { ColorLightValueDefMapAction mapAction = getMapActionByIdentityKey(nameof(ColorLightValueDefMapAction)) as ColorLightValueDefMapAction; //mapAction.sendFourColorLightRedWithBuzzerSignal(buzzer_signal, light_signal); mapAction.sendColorLightRedWithBuzzerSignal(buzzer_signal, light_signal); } }
public void setColorLight(bool red_signal, bool yellow_signal, bool green_signal, bool blue_signal, bool buzzer_signal, bool force_on_signal) { lock (color_light_lock) { ColorLightValueDefMapAction mapAction = getMapActionByIdentityKey(nameof(ColorLightValueDefMapAction)) as ColorLightValueDefMapAction; //mapAction.sendFourColorLightRedWithBuzzerSignal(buzzer_signal, light_signal); mapAction.sendColorLightSignal(red_signal, yellow_signal, green_signal, blue_signal, buzzer_signal, force_on_signal); } }