|
@@ -703,19 +703,21 @@ public class LightKnxMainScreen extends WpadScreen {
|
|
|
Sound().Play(SND.effect.TOUCH_LATCHED);
|
|
|
MovePage(true);
|
|
|
} else if (TargetId == ID.KnxLight.button.ALL_EXECUTION) {
|
|
|
- long currentClickTime = SystemClock.uptimeMillis();
|
|
|
- long elapsedTime = currentClickTime - mLastClickTime;
|
|
|
- mLastClickTime = currentClickTime;
|
|
|
- if (elapsedTime > MIN_CLICK_INTERVAL) {
|
|
|
- Device_All_Excecution_Release(false);
|
|
|
- }
|
|
|
+ Device_All_Excecution_Release(false);
|
|
|
+ //long currentClickTime = SystemClock.uptimeMillis();
|
|
|
+ //long elapsedTime = currentClickTime - mLastClickTime;
|
|
|
+ //mLastClickTime = currentClickTime;
|
|
|
+ //if (elapsedTime > MIN_CLICK_INTERVAL) {
|
|
|
+ // Device_All_Excecution_Release(false);
|
|
|
+ //}
|
|
|
} else if (TargetId == ID.KnxLight.button.ALL_RELEASE) {
|
|
|
- long currentClickTime = SystemClock.uptimeMillis();
|
|
|
- long elapsedTime = currentClickTime - mLastClickTime;
|
|
|
- mLastClickTime = currentClickTime;
|
|
|
- if (elapsedTime > MIN_CLICK_INTERVAL) {
|
|
|
- Device_All_Excecution_Release(true);
|
|
|
- }
|
|
|
+ Device_All_Excecution_Release(true);
|
|
|
+ //long currentClickTime = SystemClock.uptimeMillis();
|
|
|
+ //long elapsedTime = currentClickTime - mLastClickTime;
|
|
|
+ //mLastClickTime = currentClickTime;
|
|
|
+ //if (elapsedTime > MIN_CLICK_INTERVAL) {
|
|
|
+ // Device_All_Excecution_Release(true);
|
|
|
+ //}
|
|
|
}
|
|
|
}
|
|
|
}
|