⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 com_sub.h

📁 《WinCE.NET嵌入式工业用控制器及自动控制系统设计》的源代码
💻 H
字号:
void display_TAG(CListCtrl *list, int type, int addr);
void  control_calc();
float bare_to_eng(float eng, float bare, float rh, float rl, float bh, float bl, float fl);
float eng_to_bare(float eng, float bare, float rh, float rl, float bh, float bl);
void calc_alarm(void);
int check_alarm(int type, float eng, float alm, float band, float rh, float rl);
void calc_plus_onoff(void);
void calc_timer(int nsec);
void calc_counter(int case_no);
void set_timer_start(int case_no, short value);
void set_counter_start(int case_no, short value);
int check_timer_up(int case_no);
int check_counter_up(int case_no);
void timer_reset(int case_no);
void counter_reset(int case_no);
void get_nsec_time(void);
int  read_sys_table(void);
void set_initial_TAG(void);
int  que_initial(int *r_idx, int *w_idx);
int  que_reset(int *r_idx, int *w_idx);
int  que_save(char *qptr, char *data, int rec_len, int max_rec,
              int *r_idx, int *w_idx);
int  que_FIFO_read(char *qptr, char *data, int rec_len, int r_idx, int w_idx, int rec_no, int max_rec);
int  que_LIFO_read(char *qptr, char *data, int rec_len, int r_idx, int w_idx, int rec_no, int max_rec);
int  que_FIFO_del(int max_rec, int *r_idx, int *w_idx);
int  que_LIFO_del(int *r_idx, int *w_idx);
int  initial_local(void);
void ICP_local_main(void);
int  local_check_qbuff02(void);
void set_AODO_output(int type, int addr, float fl);
int  set_Coil(int type, int addr, int onoff);
int  set_Register(int type, int addr, float fl);
int  get_Coil(int type, int addr);
float get_Register(int type, int addr);
int  get_Plus_on(int type, int addr);
int  get_Plus_off(int type, int addr);
void special_control(void);

#define   QUEUE_NO_DATA   -1










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -