@Test public void testIsOn() { assertTrue(isOn("*1*1*21##")); assertTrue(isOn("*1*1*X##")); assertTrue(isOn("*1*1*XXXX##")); assertTrue(isOn("*1*1*XXXX#4#YY##")); }
static boolean isOn(String value) { return verifyMessage(value, ON); }
Lighting extends BaseOpenMessage { static boolean isOn(String value) { return verifyMessage(value, ON); } }
Lighting extends BaseOpenMessage { static boolean isOn(String value) { return verifyMessage(value, ON); } private  Lighting(String value); }
Lighting extends BaseOpenMessage { static boolean isOn(String value) { return verifyMessage(value, ON); } private  Lighting(String value); static Lighting requestTurnOn(String where); static Lighting requestTurnOn(String where, Type type, String bus); static Lighting requestTurnOff(String where); static Lighting requestTurnOff(String where, Type type, String bus); static Func1<OpenSession, OpenSession> handleResponse(Action0 onSuccess, Action0 onFail); static Lighting requestStatus(String where); static Lighting requestStatus(String where, Type type, String bus); static Func1<OpenSession, OpenSession> handleStatus(Action0 onStatus, Action0 offStatus); static boolean isValidRangeType(String where, Type type, String bus); }
Lighting extends BaseOpenMessage { static boolean isOn(String value) { return verifyMessage(value, ON); } private  Lighting(String value); static Lighting requestTurnOn(String where); static Lighting requestTurnOn(String where, Type type, String bus); static Lighting requestTurnOff(String where); static Lighting requestTurnOff(String where, Type type, String bus); static Func1<OpenSession, OpenSession> handleResponse(Action0 onSuccess, Action0 onFail); static Lighting requestStatus(String where); static Lighting requestStatus(String where, Type type, String bus); static Func1<OpenSession, OpenSession> handleStatus(Action0 onStatus, Action0 offStatus); static boolean isValidRangeType(String where, Type type, String bus);  }