📄 ziti.h
字号:
char code numfont[]={
0,0x38,0x38,0x44,0x44,0x4c,0x4c,0x54,0x54,0x64,0x64,0x44,0x44,0x38,0x38,0x0, /*'0'*/
0,0x10,0x10,0x30,0x30,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x38,0x38,0x0, /*'1'*/
0,0x38,0x38,0x44,0x44,0x04,0x04,0x08,0x08,0x10,0x10,0x20,0x20,0x7c,0x7c,0x0, /*'2'*/
0,0x7c,0x7c,0x8,0x8,0x10,0x10,0x8,0x8,0x04,0x4,0x44,0x44,0x38,0x38,0x0, /*'3'*/
0,0x8,0x8,0x18,0x18,0x28,0x28,0x48,0x48,0x7c,0x7c,0x8,0x8,0x8,0x8,0x0, /*'4'*/
0,0x7c,0x7c,0x40,0x40,0x78,0x78,0x04,0x04,0x04,0x04,0x44,0x44,0x38,0x38,0x0, /*'5'*/
0,0x18,0x18,0x20,0x20,0x40,0x40,0x78,0x78,0x44,0x44,0x44,0x44,0x38,0x38,0x0, /*'6'*/
0,0x7c,0x7c,0x4,0x4,0x8,0x8,0x10,0x10,0x20,0x20,0x20,0x20,0x20,0x20,0x0, /*'7'*/
0,0x38,0x38,0x44,0x44,0x44,0x44,0x38,0x38,0x44,0x44,0x44,0x44,0x38,0x38,0x0, /*'8'*/
0,0x38,0x38,0x44,0x44,0x44,0x44,0x3c,0x3c,0x04,0x04,0x08,0x08,0x30,0x30,0x0, /*'9'*/
0,0,0,0,0,0,0,0,0,0,0,0,0x30,0x30,0x0,0, /*'.'10*/
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /*' '11*/
0,0,0,0,0,0,0,0x30,0x30,0x0,0,0,0x30,0x30,0x0,0, /*':'12*/
0,0,0,0,0,0,0,0,0xfe,0xfe,0x0,0,0,0,0,0, /*'-'13*/
0,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x28,0x28,0x10,0x10,0x0, /*V14*/
0,0,0x8,0x8,0x14,0x14,0x14,0x14,0x14,0x3e,0x22,0x22,0x22,0x77,0x0,0x0, /*A15*/
0,0,0x7c,0x22,0x22,0x22,0x22,0x3c,0x26,0x22,0x22,0x22,0x26,0x7c,0x0,0, /*B16*/
0,0,0x1a,0x26,0x42,0x42,0x40,0x40,0x40,0x40,0x40,0x42,0x26,0x1c,0x0,0, /*C17*/
0,0,0x7c,0x26,0x22,0x21,0x21,0x21,0x21,0x21,0x21,0x22,0x26,0x7c,0x0,0, /*D18*/
0,0,0x7e,0x22,0x22,0x28,0x28,0x38,0x28,0x28,0x20,0x22,0x26,0x7c,0x0,0, /*E19*/
0,0,0x7e,0x22,0x22,0x28,0x28,0x38,0x28,0x28,0x20,0x20,0x20,0x70,0x0,0, /*F20*/
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0xff,0xff, /*_ 21*/
0,0,0x66,0x42,0x42,0x42,0x42,0x7e,0x7e,0x42,0x42,0x42,0x42,0x66,0,0,/*22H*/
0x18,0x3c,0x7e,0x7e,0x3c,0x3c,0x3c,0x3c,0x3c,0x18,0x18,0x18,00,0x3c,0x3c,0x3c/**23*/
};
char code num86[]={
0x0,0xc,0x12,0x12,0x12,0x12,0x12,0xc,
0x0,0x4,0xc,0x4,0x4,0x4,0x4,0xe,
0x0,0xc,0x12,0x2,0xc,0x10,0x10,0x1e,
0x0,0x1c,0x2,0x2,0x1c,0x2,0x2,0x1c,
0x0,0xc,0x14,0x14,0x1e,0x4,0x4,0x4,
0x0,0xe,0x10,0x10,0xc,0x2,0x2,0x1c,
0x0,0xc,0x10,0x10,0x1c,0x12,0x12,0xc,
0x0,0x1e,0x2,0x4,0x4,0x4,0x4,0x4,
0x0,0xc,0x12,0x12,0xc,0x12,0x12,0xc,
0x0,0xc,0x12,0x12,0xe,0x2,0x12,0xc,
0,0,0,0,0,0x30,0x30,0, /*'.'10*/
};
bit CURSOR = 0;
typedef struct STRUCT_HZ_CODE_MAP
{
uint local_code;
char gb_code[2];
}HZ_CODE_MAP;
HZ_CODE_MAP code hz_code_map[] =
{
{0, "0"}, {1, "1"} ,{2, "2"}, {3, "3"}, {4, "4"},
{5, "5"}, {6, "6"} ,{7, "7"}, {8, "8"}, {9, "9"},
{10, "H"},{11, "路"},{12, "选"},{13, "择"},{14, "件"},
{15, "平"},{16, "认"},{17, "三"},{18, " "},{21, "辉"},
{22, "煌"},{23, "否"},{24, "技"},{25, "有"},{26, ""},
{27, "公"},{28, "司"},{29, "设"},{30, "置"},{31, "放"},
{32, "电"},{33, "参"},{34, "数"},{35, "开"},{36, "始"},
{37, "查"},{38, "看"},{39, "状"},{40, "态"},{41, "停"},
{42, "止"},{43, "修"},{44, "改"},{45, "时"},{46, "间"},
{47, "日"},{48, "期"},{49, "系"},{50, "统"},{51, "流"},
{52, "总"},{53, "压"},{54, "下"},{55, "限"},{56, "单"},
{57, "节"},{58, "池"},{59, "小"},{60, "分"},{61, "钟"},
{62, "A"},{63, "V"},{64, "量"},{65, "程"},
{67, "外"},{68, "部"},{71, "器"},
{72, "大"},{73, "板"},{74, "阻"},{75, "标"},{76, "称"},
{77, "测"},{78, "值"},{79, "温"},{80, "度"},{81, "输"},
{82, "当"},{83, "前"},{84, "年"},{85, "月"},{86, "秒"},
{87, "组"},{88, "号"},{89, "剩"},{90, "余"},{91, "本"},
{92, "机"},{93, "报"},{94, "警"},{95, "结"},{96, "束"},
{97, "低"},{98, "于"}, {99,"曲"},{100,"线"},{101,"."},
{102,":"},{103,"无"},{104,"效"},{105,"℃"},{106,"操"},
{107,"第"},{108,"页"},{109,"共"},{110,"错"},{111,"误"},
{112,"初"},{113,"及"},{114,"此"},{115,"记"},{116,"录"},
{117,"据"},{118,"读"},{119,"取"},{120,"中"},{122,"为"},
{123,"上"},{124,"体"},{125,"差"},{126,"充"},{127,"环"},
{128,"境"},{129,"校"},{130,"动"},{131,"图"},{133,"信"},
{134,"息"},{135,"序"},{136,"写"},{137,"对"},{138,"象"},
{139,"类"},{140,"型"},{141,"文"},{143,"正"},{144,"在"},
{147,"容"},{148,"示"},{149,"意"},
{150,"补"},{152,"位"},{153,"与"},{154,"试"},{155,"按"},
{156,"确"},{157,"定"},{158,"键"},{159,"返"},{160,"回"},
{162,"请"},{163,"断"},{164,"源"},{165,"接"},{161,"…"},
{166,"常"},{167,"续"},{168,"离"},{169,"告"},{170,"手"},
{171,"自"},{172,"动"},{173,"后"},{174,"不"},{175,"能"},
{176,"通"},{177,"讯"},{178,"次"},{179,"被"},{180,"消"},
{181,"每"},{182,"只"},{183,"提"},{184,"示"},{185,"H"},
{186,"--"},{187,"多"},{188,"kw"},{189,"蓄"},{190,"监"},
{191,"仪"},{192,"地"},{193,"址"},{194,"交"},{195,"直"},
{196,"风"},{197,"使"},{198,"用"},{199,"扇"},{200,"高"},
{201,"异"},{202,","},{203,"."},{204,"模"},{205,"式"},
{206,"降"},{207,"已"},{210,"意"},
{212,"要"},{213,"起"},{215,"换"},{216,"将"},{217,"好"},
{218,"重"},{219,"存"},{220,"盘"},{221,"到"},{222,"U"},
{223,"候"},{234,"最"},{235,"显"},
{236,"示"},{237,"比"},{238,"例"},{239,"名"},{240,"B"},
{241,"C"},{242,"相"},{245,"作"},
{246,"串"},{247,"口"},{248,"范"},{249,"围"},{256,"选"},
{257,"择"},{258,"件"},
{0xffff,""}
};
char code hzfont[]={
0x0,0x0,0x3,0x6,0xc,0xc,0xc,0xc,
0xc,0xc,0xc,0xc,0x6,0x3,0x0,0x0,
0x0,0x0,0xe0,0x30,0x18,0x18,0x18,0x18,
0x18,0x18,0x18,0x18,0x30,0xe0,0x0,0x0 , // ;0
0x0,0x0,0x0,0x3,0x1,0x1,0x1,0x1,
0x1,0x1,0x1,0x1,0x1,0x3,0x0,0x0,
0x0,0x0,0x80,0x80,0x80,0x80,0x80,0x80,
0x80,0x80,0x80,0x80,0x80,0xc0,0x0,0x0, //;1
0x0,0x0,0x3,0x6,0xc,0xc,0x0,0x0,
0x0,0x0,0x1,0x3,0x6,0xf,0x0,0x0,
0x0,0x0,0xc0,0x60,0x30,0x30,0x30,0x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,0x0,0x1e,0xc,0xc,0xc,0xc,0xf,
0xc,0xc,0xc,0xc,0xc,0x1e,0x0,0x0,
0x0,0x0,0x3c,0x18,0x18,0x18,0x18,0xf8,
0x18,0x18,0x18,0x18,0x18,0x3c,0x0,0x0, /*H 10* /
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xf,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xf8,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, /*- 11*/
0x4,0x7e,0x44,0x45,0x46,0x44,0x7c,0x50,
0x13,0x5d,0x51,0x51,0x51,0x5d,0xe1,0x1,
0x40,0x40,0xfc,0x88,0x50,0x20,0x50,0x8e,
0x4,0xfe,0x4,0x4,0x4,0x4,0xfc,0x4, /*11;路 */
/*
0x10,0x17,0x10,0x10,0x5b,0x56,0x52,0x93,
0x12,0x12,0x13,0x10,0x10,0x1f,0x10,0x10,
0x8,0xfc,0x0,0x8,0xfc,0x8,0x8,0xf8,
0x8,0x8,0xf8,0x0,0x4,0xfe,0x0,0x0, //12;恒
0x0,0x0,0x8,0xfc,0x10,0x17,0x10,0x10,
0x10,0x10,0x1d,0xf1,0x41,0x2,0x4,0x8,
0x80,0x80,0x80,0x80,0x84,0xfe,0x84,0x84,
0x84,0x84,0x4,0x4,0x4,0x44,0x28,0x10, //13;功
0x2,0x1,0x7f,0x1,0x42,0x27,0x11,0x22,
0x4f,0x1,0x1,0xff,0x1,0x1,0x1,0x1,
0x0,0x8,0xfc,0x0,0x44,0x88,0x10,0x48,
0xe4,0x20,0x4,0xfe,0x0,0x0,0x0,0x0, //14;率*/
0x0,0x42,0x32,0x13,0x2,0x4,0xf7,0x10,
0x10,0x10,0x11,0x11,0x12,0x2c,0x44,0x3,
0x40,0x40,0x48,0xfc,0x40,0x44,0xfe,0xa0,
0xa0,0xa0,0x22,0x22,0x1e,0x0,0x6,0xfc, /*12;选*/
0x10,0x13,0x11,0x10,0xfc,0x10,0x15,0x1a,
0x35,0xd0,0x10,0x17,0x10,0x10,0x50,0x20,
0x0,0xf8,0x10,0xa0,0x40,0xa0,0x10,0x4e,
0xf4,0x40,0x48,0xfc,0x40,0x40,0x40,0x40, /*13;择*/
0x10,0x10,0x12,0x22,0x23,0x64,0xa4,0x28,
0x20,0x3f,0x20,0x20,0x20,0x20,0x20,0x20,
0x40,0x40,0x40,0x48,0xfc,0x40,0x40,0x40,
0x44,0xfe,0x40,0x40,0x40,0x40,0x40,0x40, /*;件14*/
0x0,0x7f,0x1,0x11,0x11,0x9,0x9,0x1,
0xff,0x1,0x1,0x1,0x1,0x1,0x1,0x1,
0x8,0xfc,0x0,0x10,0x10,0x20,0x20,0x4,
0xfe,0x0,0x0,0x0,0x0,0x0,0x0,0x0, //15;平
/*
0x12,0x13,0x24,0x49,0x9f,0x19,0x2f,0x69,
0xaf,0x21,0x21,0x3f,0x22,0x24,0x28,0x20,
0x0,0xc4,0x9e,0x0,0xe0,0x20,0xfe,0x24,
0xe4,0x4,0x24,0xf4,0x84,0x44,0x54,0x8, //16;衡*/
0x0,0x40,0x30,0x10,0x0,0x0,0xf0,0x10,
0x10,0x11,0x11,0x15,0x1a,0x12,0x4,0x8,
0x40,0x40,0x40,0x40,0x40,0x40,0xa0,0xa0,
0xa0,0x10,0x10,0x10,0x8,0x8,0x6,0x4, /*;认16*/
0x0,0x0,0x7f,0x0,0x0,0x0,0x0,0x3f,
0x0,0x0,0x0,0x0,0x0,0xff,0x0,0x0,
0x0,0x8,0xfc,0x0,0x0,0x0,0x10,0xf8,
0x0,0x0,0x0,0x0,0x4,0xfe,0x0,0x0, //17 ;三
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0, /*空格 18*/
0X0,0X0,0X0,0X3,0X3,0X3,0X3,0X3,
0X3,0X3,0X3,0X3,0X3,0X0,0X0,0X0,
0X0,0X0,0X0,0X1b,0X33,0X63,0Xc1,0X81,
0Xc0,0X60,0X30,0X18,0Xc,0X0,0X0,0X0,
0X0,0X0,0X0,0Xc,0Xc,0Xc,0X9e,0X9e,
0Xd2,0Xf3,0X61,0X61,0X61,0X0,0X0,0X0,
0X0,0X0,0X0,0X30,0X30,0X30,0X60,0X60,
0Xc0,0Xc0,0X80,0X80,0X80,0X0,0X0,0X0, /*19,20,KW*/
/*0x10,0x11,0x95,0x56,0x38,0x11,0xfe,0x29,
0x29,0x28,0x28,0x2b,0x4c,0x48,0x80,0x0,
00,0xfe,0x4,0x40,0x48,0xfc,0x80,0x20,
0xfc,0x20,0x24,0xfe,0x20,0x20,0x20,0x20, // ;辉21
0x10,0x10,0x13,0x16,0x5b,0x52,0x53,0x90,
0x17,0x10,0x10,0x13,0x28,0x44,0x8f,0x0,
0x40,0x88,0xfc,0x8,0xf8,0x8,0xf8,0x0,
0xfc,0x40,0x50,0xf8,0x40,0x44,0xfe,0x0, //;煌22
0x4,0xe,0xf8,0x8,0x8,0xfe,0x8,0x1c,
0x1a,0x29,0x28,0x48,0x88,0x8,0x8,0x8,
0x10,0x10,0x90,0x50,0x10,0x90,0x50,0x14,
0x1e,0xf0,0x10,0x10,0x10,0x10,0x10,0x10, //;科23
0x10,0x10,0x10,0x13,0xfc,0x10,0x10,0x13,
0x1a,0x31,0xd1,0x10,0x10,0x10,0x51,0x26,
0x40,0x40,0x48,0xfc,0x40,0x40,0x40,0xf8,
0x8,0x10,0x10,0xa0,0x40,0xb0,0xe,0x4, //;技24 */
0X10,0X10,0X10,0X10,0Xfd,0X12,0X35,0X30,
0X58,0X56,0X91,0X11,0X11,0X10,0X1f,0X10,
0X40,0X40,0Xa0,0Xa0,0X10,0Xe,0Xf4,0X0,
0X40,0X48,0X4c,0X48,0X50,0X4,0Xfe,0X0, /*21;检*/
0Xf,0X8,0X8,0Xf,0X8,0X8,0Xf,0X0,
0Xff,0X1,0X9,0X9,0X9,0X15,0X23,0X40,
0Xe0,0X20,0X20,0Xe0,0X20,0X20,0Xe0,0X4,
0Xfe,0X0,0X20,0Xf0,0X0,0X0,0X6,0Xfc, /*;是22*/
0X0,0Xff,0X0,0X1,0X3,0X5,0X9,0X31,
0Xc1,0X1f,0X10,0X10,0X10,0X10,0X1f,0X10,
0X4,0Xfe,0X80,0X0,0X0,0X60,0X18,0X6,
0X12,0Xf8,0X10,0X10,0X10,0X10,0Xf0,0X10, /*;否23*/
0X1,0X1,0X2,0X4,0X8,0X10,0X2f,0Xc0,
0X0,0X1f,0X10,0X10,0X10,0X10,0X1f,0X10,
0X0,0X0,0X80,0X40,0X20,0X10,0Xee,0X4,
0X10,0Xf8,0X10,0X10,0X10,0X10,0Xf0,0X10, /*;合24*/
/*0x2,0x8,0x11,0x6,0x24,0x8,0x28,0x4,
0x24,0x2,0x12,0x3,0x1,0x1,0x1,0xf,
0xa0,0x8,0xc4,0x30,0x12,0x8,0xa,0x10,
0x12,0x20,0x24,0x60,0x40,0x40,0x40,0xf8, /*23灭灯* /
0x0,0x0,0x1,0x6,0x4,0x8,0x8,0x4,
0x4,0x2,0x2,0x3,0x1,0x1,0x1,0xf,
0x0,0x0,0xc0,0x30,0x10,0x8,0x8,0x10,
0x10,0x20,0x20,0x60,0x40,0x40,0x40,0xf8, /*亮灯24*/
0x2,0x2,0xff,0x4,0x4,0xf,0x8,0x18,
0x2f,0x48,0x88,0xf,0x8,0x8,0x8,0x8,
0x0,0x4,0xfe,0x0,0x10,0xf8,0x10,0x10,
0xf0,0x10,0x10,0xf0,0x10,0x10,0x50,0x20, //;有25
/*0x0,0x7d,0x45,0x49,0x49,0x51,0x49,0x49,
0x45,0x45,0x45,0x69,0x51,0x41,0x41,0x41,
0x8,0xfc,0x8,0x8,0xf8,0x8,0x8,0xf8,
0x4,0x88,0x50,0x20,0x10,0x4e,0x84,0x0, //;限26*/
0x0,0x0,0x0,0x0,0x0,0xff,0xff,0xff,
0xff,0xff,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x20,0x30,0x38,0xfc,0xfe,0xff,
0xfe,0xfc,0x38,0x30,0x20,0x0,0x0,0x0, /*26 箭头*/
0X0,0X47,0X30,0X10,0Xf,0X0,0Xf0,0X13,
0X12,0X12,0X12,0X13,0X12,0X28,0X47,0X0,
0X38,0Xc0,0X40,0X44,0Xfe,0X40,0X48,0Xfc,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -