EepA53808 implements EepTransceive { @Override public EepType getType() { return eepType; } EepA53808(DeviceID deviceID, String commandString, CommandParameter parameter); @Override String toString(); @Override void send(RadioInterface radioInterface); @Override EepType getType(); @Override boolean update(EspRadioTelegram telegram); @Override void updateSensor(Sensor sensor); static final int EEP_A53808_EDIM_FRACTIONAL_DIGITS; static final String DIM_SPEED_STATUS_COMMAND; static final String DIM_RANGE_STATUS_COMMAND; static final String DIM_VALUE_STORE_STATUS_COMMAND; static final String SWITCH_STATUS_COMMAND; }
@Test public void testBasicConstruction() throws Exception { Eep eep = EepType.lookup("A5-38-08").createEep( deviceID, "EDIM", null ); Assert.assertTrue(eep instanceof EepA53808); Assert.assertEquals(EepType.EEP_TYPE_A53808, eep.getType()); eep = EepType.lookup("07-38-08").createEep( deviceID, "EDIM", null ); Assert.assertTrue(eep instanceof EepA53808); Assert.assertEquals(EepType.EEP_TYPE_A53808, eep.getType()); }