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

📄 osd_dis_lib.c

📁 SDU的字库
💻 C
📖 第 1 页 / 共 2 页
字号:

void dis_mov_h_l()
{ 
  //lay_set();
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0x89;
  h.u.text_3[2] = 0x8a;
  h.u.text_3[3] = 0x8b;
  h.u.text_3[4] = 0x8c;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0x8d;
  h.u.text_3[7] = 0x8e;
}
void dis_mov_h_r()
{ 
  //lay_set();
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0x89;
  h.u.text_3[2] = 0x8a;
  h.u.text_3[3] = 0x8b;
  h.u.text_3[4] = 0x8c;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0x88;
  h.u.text_3[7] = 0x8e;
}
void dis_mov_v_up()
{ 
  //lay_set();
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0x89;
  h.u.text_3[2] = 0x8a;
  h.u.text_3[3] = 0x80;
  h.u.text_3[4] = 0x81;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0x70;
  h.u.text_3[7] = 0x8e;
}
void dis_mov_v_down()
{
  //lay_set(); 
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0x89;
  h.u.text_3[2] = 0x8a;
  h.u.text_3[3] = 0x80;
  h.u.text_3[4] = 0x81;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0x72;
  h.u.text_3[7] = 0x8e;
}
void dis_ok()
{
  //lay_set(); 
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0xff;
  h.u.text_3[2] = 0x7a;
  h.u.text_3[3] = 0x47;
  h.u.text_3[4] = 0x61;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0xff;
  h.u.text_3[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: ztfw_cn( ) 
** 功能描述: 显示" 超载 "
********************************************************************************************************/
void cz_cn()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0xff;
  h.u.text_4[3] = 0x60;
  h.u.text_4[4] = 0x61;
  h.u.text_4[5] = 0xff;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: mz_cn( ) 
** 功能描述: 显示" 满载 "
********************************************************************************************************/
void mz_cn()
{ 	
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0xff;
  h.u.text_4[3] = 0x62;
  h.u.text_4[4] = 0x61;
  h.u.text_4[5] = 0xff;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: sbwhz( ) 
** 功能描述: 显示" 设备维护中 "
********************************************************************************************************/
void sbwhz_cn()
{   
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0x69;
  h.u.text_4[2] = 0x6a;
  h.u.text_4[3] = 0x6b;
  h.u.text_4[4] = 0x6c;
  h.u.text_4[5] = 0x6f;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: xfysy_cn( ) 
** 功能描述: 显示" 消防员使用 "
********************************************************************************************************/
void xfysy_cn()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0x52;
  h.u.text_4[2] = 0x53;
  h.u.text_4[3] = 0x54;
  h.u.text_4[4] = 0x55;
  h.u.text_4[5] = 0x56;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: qjz_cn( ) 
** 功能描述: 显示" 清洁中 "
********************************************************************************************************/
void qjz_cn()
{   
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0x6d;
  h.u.text_4[3] = 0x6e;
  h.u.text_4[4] = 0x6f;
  h.u.text_4[5] = 0xff;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: ztfw_cn( ) 
** 功能描述: 显示" 暂停服务 "
********************************************************************************************************/
void ztfw_cn()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0x65;
  h.u.text_4[3] = 0x66;
  h.u.text_4[4] = 0x67;
  h.u.text_4[5] = 0x68;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: hj_cn( ) 
** 功能描述: 显示" 火警 "
********************************************************************************************************/
void hj_cn()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0xff;
  h.u.text_4[3] = 0x63;
  h.u.text_4[4] = 0x64;
  h.u.text_4[5] = 0xff;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: jjfw_cn( ) 
** 功能描述: 显示" 紧急服务"
********************************************************************************************************/
void jjfw_cn()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0x57;
  h.u.text_4[3] = 0x58;
  h.u.text_4[4] = 0x67;
  h.u.text_4[5] = 0x68;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: ztfw_en( ) 
** 功能描述: 显示" 超载 "
********************************************************************************************************/
void cz_en()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0xff;
  h.u.text_5[2] = 0x120;
  h.u.text_5[3] = 0x121;
  h.u.text_5[4] = 0x122;
  h.u.text_5[5] = 0x123;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: mz_en( ) 
** 功能描述: 显示" 满载 "
********************************************************************************************************/
void mz_en()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0xff;
  h.u.text_5[2] = 0x125;
  h.u.text_5[3] = 0x126;
  h.u.text_5[4] = 0x127;
  h.u.text_5[5] = 0x128;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;

}

/*********************************************************************************************************
** 函数名称: sbwhz_en( ) 
** 功能描述: 显示" 设备维护中 "
********************************************************************************************************/
void sbwhz_en()
{   
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0x130;
  h.u.text_5[2] = 0x131;
  h.u.text_5[3] = 0x132;
  h.u.text_5[4] = 0x133;
  h.u.text_5[5] = 0x134;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;
}
/*********************************************************************************************************
** 函数名称: xfysy_cn( ) 
** 功能描述: 显示" 消防员使用 "
********************************************************************************************************/
void xfysy_en()
{ 
  h.u.text_5[0] = 0x137;
  h.u.text_5[1] = 0x138;
  h.u.text_5[2] = 0x139;
  h.u.text_5[3] = 0x13a;
  h.u.text_5[4] = 0x13b;
  h.u.text_5[5] = 0x13c;
  h.u.text_5[6] = 0x13d;
  h.u.text_5[7] = 0x13e;
}
/*********************************************************************************************************
** 函数名称: qjz_cn( ) 
** 功能描述: 显示" 清洁中 "
********************************************************************************************************/
void qjz_en()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0xff;
  h.u.text_5[2] = 0x116;
  h.u.text_5[3] = 0x117;
  h.u.text_5[4] = 0x118;
  h.u.text_5[5] = 0x119;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;

}
/*********************************************************************************************************
** 函数名称: ztfw_en( ) 
** 功能描述: 显示" 暂停服务 "
********************************************************************************************************/
void ztfw_en()
{ 
  h.u.text_5[0] = 0x100;
  h.u.text_5[1] = 0x101;
  h.u.text_5[2] = 0x102;
  h.u.text_5[3] = 0x103;
  h.u.text_5[4] = 0x104;
  h.u.text_5[5] = 0x105;
  h.u.text_5[6] = 0x106;
  h.u.text_5[7] = 0xff;

}

/*********************************************************************************************************
** 函数名称: jjfw_en( ) 
** 功能描述: 显示" 紧急服务 "
********************************************************************************************************/
void jjfw_en()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0x140;
  h.u.text_5[2] = 0x141;
  h.u.text_5[3] = 0x142;
  h.u.text_5[4] = 0x143;
  h.u.text_5[5] = 0x144;
  h.u.text_5[6] = 0x145;
  h.u.text_5[7] = 0xff;

}
/*********************************************************************************************************
** 函数名称: hj_cn( ) 
** 功能描述: 显示" 火警 "
********************************************************************************************************/
void hj_en()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0x110;
  h.u.text_5[2] = 0x111;
  h.u.text_5[3] = 0x112;
  h.u.text_5[4] = 0x113;
  h.u.text_5[5] = 0x114;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;

}

void del_calendar()
{ 
  h.u.text_6[0] = 0xff;
  h.u.text_6[1] = 0xff;;
  h.u.text_6[2] = 0xff;
  h.u.text_6[3] = 0xff;
  h.u.text_6[4] =0xff;
  h.u.text_6[5] = 0xff;
  h.u.text_6[6] = 0xff;
  h.u.text_6[7] = 0xff;
  h.u.text_6[8] = 0xff;
  h.u.text_6[9] = 0xff;
  h.u.text_6[10]= 0xff;
  h.u.text_6[11]= 0xff;
}

void del_time()
{ 
  h.u.text_6[12] = 0xff;
  h.u.text_6[13] = 0xff;
  h.u.text_6[14] = 0xff;
  h.u.text_6[15] = 0xff;
  h.u.text_6[16] = 0xff;
  h.u.text_6[17] = 0xff;
  h.u.text_6[18] = 0xff;
  h.u.text_6[19] = 0xff;
 }
 
/*********************************************************************************************************
** 函数名称: null( ) 
** 功能描述: 显示"  "
********************************************************************************************************/

void disappear_row5()
{ 
  h.u.text_5[0] = 0xff;
  h.u.text_5[1] = 0xff;
  h.u.text_5[2] = 0xff;
  h.u.text_5[3] = 0xff;
  h.u.text_5[4] = 0xff;
  h.u.text_5[5] = 0xff;
  h.u.text_5[6] = 0xff;
  h.u.text_5[7] = 0xff;

} 
void disappear_row4()
{ 
  h.u.text_4[0] = 0xff;
  h.u.text_4[1] = 0xff;
  h.u.text_4[2] = 0xff;
  h.u.text_4[3] = 0xff;
  h.u.text_4[4] = 0xff;
  h.u.text_4[5] = 0xff;
  h.u.text_4[6] = 0xff;
  h.u.text_4[7] = 0xff;

}
void disappear_row3()
{ 
  h.u.text_3[0] = 0xff;
  h.u.text_3[1] = 0xff;
  h.u.text_3[2] = 0xff;
  h.u.text_3[3] = 0xff;
  h.u.text_3[4] = 0xff;
  h.u.text_3[5] = 0xff;
  h.u.text_3[6] = 0xff;
  h.u.text_3[7] = 0xff;

}
void disappear_row2()
{ 
  h.u.text_2[0] = 0xff;
  h.u.text_2[1] = 0xff;
  h.u.text_2[2] = 0xff;
  h.u.text_2[3] = 0xff;
  h.u.text_2[4] = 0xff;
  h.u.text_2[5] = 0xff;
  h.u.text_2[6] = 0xff;
  h.u.text_2[7] = 0xff;

}
void disappear_row23() 
{
   disappear_row2();
   disappear_row3();
 //  disappear_row4();
}

⌨️ 快捷键说明

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