@Test public void testIsOff() { assertTrue(isOff("*1*0*21##")); assertTrue(isOff("*1*0*X##")); assertTrue(isOff("*1*0*XXXX##")); assertTrue(isOff("*1*0*XXXX#4#YY##")); }
static boolean isOff(String value) { return verifyMessage(value, OFF); }
Lighting extends BaseOpenMessage { static boolean isOff(String value) { return verifyMessage(value, OFF); } }
Lighting extends BaseOpenMessage { static boolean isOff(String value) { return verifyMessage(value, OFF); } private  Lighting(String value); }
Lighting extends BaseOpenMessage { static boolean isOff(String value) { return verifyMessage(value, OFF); } 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 isOff(String value) { return verifyMessage(value, OFF); } 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);  }