start refactoring transmitting
This commit is contained in:
parent
03cadcdd58
commit
3b3894b3f0
cube/User
@ -17,6 +17,7 @@ typedef struct {
|
||||
int32_t period;
|
||||
int32_t delay;
|
||||
bool waiting;
|
||||
bool active;
|
||||
} t_mbusDevice;
|
||||
|
||||
typedef enum {
|
||||
|
@ -582,7 +582,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "ComputerPower",
|
||||
@ -592,7 +593,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "DryerPower",
|
||||
@ -602,7 +604,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "LaundryPower",
|
||||
@ -612,7 +615,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "DishwasherPower",
|
||||
@ -622,7 +626,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "LightPower",
|
||||
@ -632,7 +637,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "FreezerPower",
|
||||
@ -642,7 +648,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
},
|
||||
{
|
||||
.deviceName = "FridgePower",
|
||||
@ -652,7 +659,8 @@ static t_mbusDevice devices[] = {
|
||||
.failures = 0,
|
||||
.period = PERIOD,
|
||||
.delay = 0,
|
||||
.waiting = false
|
||||
.waiting = false,
|
||||
.active = false
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user