32 lines
		
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
 | |
| #include "stdint.h"
 | |
| 
 | |
| 
 | |
| typedef struct{
 | |
|     uint32_t max;
 | |
|     uint32_t min;
 | |
|     uint32_t err;
 | |
| }item_def;
 | |
| 
 | |
| 
 | |
| 
 | |
| typedef struct 
 | |
| {
 | |
|     uint32_t item_num;
 | |
|     uint32_t err;
 | |
|     item_def data[16];
 | |
| }task_def;
 | |
| 
 | |
| 
 | |
| typedef struct 
 | |
| {
 | |
|     uint32_t plan_id;
 | |
|     uint32_t timeout_m;
 | |
|     uint32_t task_num;
 | |
|     task_def data[0];
 | |
| }scheme_def;
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
