Exemplo n.º 1
0
 public void setColorLightBlue(bool signal)
 {
     lock (color_light_lock)
     {
         ColorLightValueDefMapAction mapAction =
             getMapActionByIdentityKey(nameof(ColorLightValueDefMapAction)) as ColorLightValueDefMapAction;
         mapAction.sendColorLightBlueSignal(signal);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 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);
     }
 }