REFRACTOR
This commit is contained in:
		
							parent
							
								
									b68cdd224e
								
							
						
					
					
						commit
						f2a40ca330
					
				
					 3 changed files with 38 additions and 144 deletions
				
			
		| 
						 | 
				
			
			@ -1,22 +1,10 @@
 | 
			
		|||
#ifndef CORE_MODELS_JUNCTION_RELAY_SCHEDULE_H
 | 
			
		||||
#define CORE_MODELS_JUNCTION_RELAY_SCHEDULE_H
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
junction_relay_schedule_get_schedule_id(uint8_t weekday, int relay_id);
 | 
			
		||||
 | 
			
		||||
int*
 | 
			
		||||
junction_relay_schedule_get_relays_ids(int schedule_id);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
junction_relay_schedule_insert(uint8_t weekday, int relay_id, int schedule_id);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
junction_relay_schedule_remove(uint8_t weekday, int relay_id, int schedule_id);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
junction_relay_schedule_remove_for_relay(int relay_id);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
junction_relay_schedule_remove_for_schedule(int schedule_id);
 | 
			
		||||
 | 
			
		||||
#endif /* CORE_MODELS_JUNCTION_RELAY_SCHEDULE_H */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue