Fixed TC and initial implementation of Nexa group transmissions. issue 12
This commit is contained in:
parent
b93c8bc124
commit
cf646bb340
4 changed files with 29 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ public class TelstickSerialCommNexaOnOffTest {
|
|||
NexaSelfLearning nexa = new NexaSelfLearning();
|
||||
//nexa.setHouse(11772006);
|
||||
nexa.setHouse(14160770);
|
||||
nexa.setGroup(0);
|
||||
nexa.setGroup(false);
|
||||
nexa.setUnit(1);
|
||||
|
||||
System.out.println("Up and Running");
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public class NexaSelfLearningTest {
|
|||
NexaSelfLearning nexa = decode("0x2CE81990");
|
||||
|
||||
assertEquals("House Code", 11772006, nexa.getHouse());
|
||||
assertEquals("Unit Code", 1, nexa.getUnit());
|
||||
assertEquals("Unit Code", 0, nexa.getUnit());
|
||||
assertTrue("Enabled", nexa.isOn());
|
||||
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ public class NexaSelfLearningTest {
|
|||
NexaSelfLearning nexa = decode("0x2CE81980");
|
||||
|
||||
assertEquals("House Code", 11772006, nexa.getHouse());
|
||||
assertEquals("Unit Code", 1, nexa.getUnit());
|
||||
assertEquals("Unit Code", 0, nexa.getUnit());
|
||||
assertFalse("Enabled", nexa.isOn());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue