add: functions to insert list (for junctions)
This commit is contained in:
parent
9fb525530f
commit
d23655eb61
7 changed files with 155 additions and 26 deletions
include/models
|
@ -7,4 +7,7 @@ junction_relay_schedule_insert(uint8_t weekday, int relay_id, int schedule_id);
|
|||
int
|
||||
junction_relay_schedule_remove_for_relay(int relay_id);
|
||||
|
||||
int
|
||||
junction_relay_schedule_insert_weekdays(int relay_id, int *schedule_ids);
|
||||
|
||||
#endif /* CORE_MODELS_JUNCTION_RELAY_SCHEDULE_H */
|
||||
|
|
|
@ -16,6 +16,9 @@ junction_tag_get_tags_for_schedule_id(int schedule_id);
|
|||
int
|
||||
junction_tag_insert(int tag_id, int relay_id, int schedule_id);
|
||||
|
||||
int
|
||||
junction_tag_insert_list(int *tag_ids, int relay_id, int schedule_id, int count);
|
||||
|
||||
int
|
||||
junction_tag_remove(int tag_id, int relay_id, int schedule_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue