270 lines
12 KiB
C++
270 lines
12 KiB
C++
/*
|
||
* 说明: 从平台数据库加载的数据表公共头文件
|
||
*
|
||
* 作者: 杨海洋
|
||
* 日期: 2024-03-18
|
||
*/
|
||
|
||
#ifndef HDBTABLE_H
|
||
#define HDBTABLE_H
|
||
|
||
#include "HUtility.h"
|
||
|
||
|
||
/*******************************************************************************
|
||
*
|
||
* 说明:特殊地点版本声明:sysset表211参数地点版本参数种类,真是多!!!
|
||
* 单独抽出来定义在这里,不然整个代码到处找,都不知道到底有多少特殊地点版本!!!
|
||
* 注意:***这些定义不能变字母大小写都不能改,都是特殊地点版本***
|
||
*
|
||
*******************************************************************************/
|
||
|
||
#define siteof_declare(region) \
|
||
static const std::string region = #region; \
|
||
JUDGE_ATTRIBUTE_UNUSED static bool if_##region(const std::string& a) noexcept { return a == region; }
|
||
|
||
namespace siteof
|
||
{
|
||
siteof_declare(nj);
|
||
siteof_declare(NMGTLKM3);
|
||
siteof_declare(GXWZKM3);
|
||
siteof_declare(TianJin1001);
|
||
siteof_declare(guizhou);
|
||
siteof_declare(guizhouzy);
|
||
siteof_declare(guizhouas);
|
||
siteof_declare(guizhoubj);
|
||
siteof_declare(shandong);
|
||
siteof_declare(shandongyt);
|
||
siteof_declare(shijiazhuang1001);
|
||
siteof_declare(zs);
|
||
siteof_declare(sc);
|
||
siteof_declare(sz);
|
||
siteof_declare(sz111);
|
||
siteof_declare(hbxy);
|
||
siteof_declare(zjhz);
|
||
siteof_declare(chongqingkm3);
|
||
siteof_declare(jilinsongyuan);
|
||
siteof_declare(njdckm3);
|
||
siteof_declare(changzhoukm3);
|
||
siteof_declare(zjnbdckm3);
|
||
siteof_declare(shanghaikm3);
|
||
siteof_declare(cangzhou);
|
||
siteof_declare(yingtan);
|
||
siteof_declare(dingxi);
|
||
siteof_declare(fjnpzdkm3);
|
||
siteof_declare(hnjz001);
|
||
siteof_declare(hbcz118);
|
||
siteof_declare(lyggy);
|
||
siteof_declare(gdzjkm3);
|
||
siteof_declare(hnpy);
|
||
siteof_declare(nmgcfkm3);
|
||
siteof_declare(dehongkm3);
|
||
siteof_declare(xjcj);
|
||
siteof_declare(xjbz);
|
||
siteof_declare(gxggpnkm3);
|
||
siteof_declare(lfgakm3);
|
||
siteof_declare(linxiahz);
|
||
siteof_declare(gdjykm3);
|
||
siteof_declare(gsgnzkm3);
|
||
siteof_declare(ynzt);
|
||
siteof_declare(gxlzkm3);
|
||
siteof_declare(hebeihskm3);
|
||
siteof_declare(scyb);
|
||
siteof_declare(shandongjnkm3);
|
||
siteof_declare(gxbhkm3);
|
||
siteof_declare(zjwz);
|
||
siteof_declare(sccdcz);
|
||
siteof_declare(lanzhoubayun);
|
||
siteof_declare(huaiangtkm3);
|
||
siteof_declare(huaianxuyi);
|
||
siteof_declare(scnckm3);
|
||
siteof_declare(zjnb);
|
||
siteof_declare(sxhzkm3);
|
||
siteof_declare(jiuquan);
|
||
siteof_declare(hn);
|
||
siteof_declare(heb);
|
||
siteof_declare(hunankm3);
|
||
siteof_declare(hebtest);
|
||
siteof_declare(lygkm3);
|
||
siteof_declare(weinancgs);
|
||
siteof_declare(kunming);
|
||
siteof_declare(xiangyang);
|
||
siteof_declare(hnsq);
|
||
siteof_declare(hnay);
|
||
siteof_declare(bdgaoyangkm3);
|
||
siteof_declare(sxbjxc);
|
||
siteof_declare(hbwh);
|
||
siteof_declare(xjcj_hm);
|
||
siteof_declare(ankang);
|
||
siteof_declare(ynyx);
|
||
siteof_declare(sxbjdc);
|
||
siteof_declare(sccd);
|
||
siteof_declare(JXNC);
|
||
siteof_declare(gdmm);
|
||
siteof_declare(zhoukou);
|
||
siteof_declare(jj);
|
||
siteof_declare(shanxilinfen);
|
||
siteof_declare(shenyangkm3);
|
||
siteof_declare(hbtskm3);
|
||
siteof_declare(SXHZ);
|
||
siteof_declare(shanxi);
|
||
siteof_declare(nmgtlkm3);
|
||
siteof_declare(HLJDQ);
|
||
siteof_declare(ynljys);
|
||
siteof_declare(xjks);
|
||
siteof_declare(lnjzkm3);
|
||
siteof_declare(hncs);
|
||
siteof_declare(fjqz);
|
||
siteof_declare(jiuquan1);
|
||
siteof_declare(zjjh);
|
||
siteof_declare(hbwhjz);
|
||
siteof_declare(JXYTSF001);
|
||
siteof_declare(hnzzkm3);
|
||
siteof_declare(jswxbz);
|
||
siteof_declare(scms);
|
||
siteof_declare(tcrx); //无锡所检测地点版本特殊
|
||
|
||
|
||
}
|
||
|
||
/*******************************************************************************
|
||
*
|
||
* 说明:语音播报和提示输出码定义
|
||
* 单独抽出来定义在这里,不然整个代码到处找,都不知道有多少语音码!!!
|
||
* 注意:***这些定义音频语音输出码绝对不能更改,和和APP端语音文件名对应的***
|
||
*
|
||
*******************************************************************************/
|
||
|
||
#define sound_sub2(a) static const std::string sub2_##a = #a;
|
||
#define sound_sub3(a) static const std::string sub3_##a = #a;
|
||
#define sound_subx(a) static const std::string subx_##a = #a;
|
||
namespace sound
|
||
{
|
||
//科目二 语音输出码 windows版对应语音文件 语音内容
|
||
sound_sub2(20100) // \sound\dcrk.wav 倒车入库
|
||
sound_sub2(DCRK_YRK) // \sound\已入库.wav
|
||
sound_sub2(20200) // \Sound\zk.wav 桩考
|
||
sound_sub2(20300) // \sound\pdqb.wav 坡道定点停车和起步
|
||
sound_sub2(20400) // \sound\cftc.wav 侧方停车
|
||
sound_sub2(20500) // \sound\tgdbq.wav 通过单边桥
|
||
sound_sub2(20600) // \sound\qxxs.wav 曲线行驶
|
||
sound_sub2(20700) // \sound\zjzw.wav 直角转弯
|
||
sound_sub2(20800) // \sound\tgxkm.wav 通过限宽门
|
||
sound_sub2(20900) // \sound\mnzldt.wav 窄路掉头
|
||
sound_sub2(21000) // \sound\mngsgl.wav 高速公路行驶
|
||
sound_sub2(21100) // \sound\mnlxjw.wav 模拟连续急弯山区路行驶
|
||
sound_sub2(21200) // \sound\mnsd.wav 模拟隧道行驶
|
||
sound_sub2(21300) // \sound\mnyt.wav \sound\mnwt.wav 模拟雨天 模拟雾天
|
||
sound_sub2(21400) // \sound\mnshl.wav 丝滑路行驶
|
||
sound_sub2(21500) // \sound\mnzaw.wav 前方出现障碍物
|
||
sound_sub2(21600) // \sound\mnclgz.wav 车辆发生故障
|
||
sound_sub2(nextitem) // \sound\next.wav 下一个项目是
|
||
sound_sub2(CDSBGZ) // Sound\场地设备故障.wav
|
||
sound_sub2(xmhg) // 项目合格
|
||
sound_sub2(xmbhg) // 项目不合格
|
||
|
||
//科目三 语音输出码(安卓sdk卡语音文件在此基础上加后缀.wav) windows版对应语音文件 语音内容
|
||
sound_sub3(ts_gbcm); // \sound\关门.wav
|
||
sound_sub3(ts_fdj); // \sound\点火.wav 请启动发动机
|
||
sound_sub3(ts_fdj2); // \sound\点火sh.wav 准备完成后,请启动发动机
|
||
sound_sub3(40100); // \sound\上车准备.wav 上车准备
|
||
sound_sub3(401001); // \sound\左前边有人.wav \sound\左边有人.wav
|
||
sound_sub3(401002); // \sound\左后边有人.wav
|
||
sound_sub3(401003); // \sound\右后边有人.wav \sound\右边有人.wav
|
||
sound_sub3(401004); // \sound\右前边有人.wav
|
||
sound_sub3(417001); // \sound\关灯.wav 请关闭所有灯光
|
||
sound_sub3(417002); // \sound\照明不良.wav 进行模拟夜间行驶场景灯光使用的考试,请按语音指令,在5秒内做出相应的灯光操作,请开启前照灯
|
||
sound_sub3(417003); // \sound\yj311.wav 夜间同方向近距离跟车行驶
|
||
sound_sub3(417004); // \sound\yj321.wav 夜间与机动车会车
|
||
sound_sub3(417005); // \sound\yj331.wav 夜间直行通过路口
|
||
sound_sub3(417006); // \sound\yj342.wav 夜间在照明良好的道路上行驶
|
||
sound_sub3(417007); // \sound\yj211.wav 夜间通过急弯
|
||
sound_sub3(417008); // \sound\yj212.wav 夜间通过坡路
|
||
sound_sub3(417009); // \sound\yj213.wav 夜间通过拱桥
|
||
sound_sub3(4170010); // \sound\yj214.wav 夜间通过人行横道
|
||
sound_sub3(4170011); // \sound\yj215.wav 夜间通过没有交通信号灯控制的路口
|
||
sound_sub3(4170012); // \sound\yj221.wav 夜间超越前方车辆
|
||
sound_sub3(4170013); // \sound\yj511.wav 路边临时停车
|
||
sound_sub3(4170014); // \sound\yj411.wav 夜间在没有照明的道路上行驶
|
||
sound_sub3(4170015); // \sound\模拟完成.wav 夜间考试完成
|
||
sound_sub3(4170016); // \sound\yj412.wav 夜间在照明不良的道路上行驶
|
||
sound_sub3(4170017); // \sound\yj332.wav 夜间左转
|
||
sound_sub3(4170018); // \sound\yj333.wav 夜间右转
|
||
sound_sub3(4170019); // \sound\yj341.wav 夜间在有路灯的道路上行驶
|
||
sound_sub3(402001); // \sound\请起步.wav
|
||
sound_sub3(403001); // \sound\直线行驶提示.wav
|
||
sound_sub3(403002); // \sound\结束直线行驶.wav
|
||
sound_sub3(405001); // \sound\变更车道提示.wav
|
||
sound_sub3(405002); // \sound\结束变更.wav
|
||
sound_sub3(405004); // \sound\取消变更车道.wav
|
||
sound_sub3(414001); // \sound\超车.wav
|
||
sound_sub3(414003); // \sound\驶离超车道.wav
|
||
sound_sub3(414004); // \sound\取消超车.wav
|
||
sound_sub3(414005); // \sound\回原车道.wav
|
||
sound_sub3(407001); // \sound\直行.wav
|
||
sound_sub3(408001); // \sound\左转.wav
|
||
sound_sub3(409001); // \sound\右转.wav
|
||
sound_sub3(410001); // \sound\通过人行横道.wav
|
||
sound_sub3(410002); // \sound\有行人通过.wav
|
||
sound_sub3(410003); // \sound\行人已通过.wav
|
||
sound_sub3(411001); // \sound\通过学校.wav
|
||
sound_sub3(411002); // \sound\学校行人通过.wav
|
||
sound_sub3(411003); // \sound\行人已通过.wav
|
||
sound_sub3(411004); // \sound\完成学校区域.wav
|
||
sound_sub3(412001); // \sound\通过车站.wav
|
||
sound_sub3(412002); // \sound\公交行人通过.wav
|
||
sound_sub3(412003); // \sound\行人已通过.wav
|
||
sound_sub3(413001); // \sound\发生会车.wav
|
||
sound_sub3(413002); // \sound\结束会车.wav
|
||
sound_sub3(406001); // \sound\靠边停车提示.wav
|
||
sound_sub3(406002); // \sound\下车.wav
|
||
sound_sub3(406003); // \sound\停车起步.wav
|
||
sound_sub3(406004); // \sound\靠边完成请下车.wav
|
||
sound_sub3(406005); // \sound\继续完成考试.wav
|
||
sound_sub3(406006); // \sound\嘣.wav 备注:触摸左后视镜
|
||
sound_sub3(415001); // \sound\掉头提示.wav
|
||
sound_sub3(404001); // \sound\加减档位操作.wav
|
||
sound_sub3(404004); // \sound\取消加减档位操作.wav
|
||
sound_sub3(nowDw_1); // \sound\1.wav
|
||
sound_sub3(nowDw_2); // \sound\2.wav
|
||
sound_sub3(nowDw_3); // \sound\3.wav
|
||
sound_sub3(nowDw_4); // \sound\4.wav
|
||
sound_sub3(nowDw_5); // \sound\5.wav
|
||
sound_sub3(4040021); // \sound\down1d.wav
|
||
sound_sub3(4040022); // \sound\down2d.wav
|
||
sound_sub3(4040023); // \sound\down3d.wav
|
||
sound_sub3(4040024); // \sound\down4d.wav
|
||
sound_sub3(4040032); // \sound\up2d.wav
|
||
sound_sub3(4040033); // \sound\up3d.wav
|
||
sound_sub3(4040034); // \sound\up4d.wav
|
||
sound_sub3(4040035); // \sound\up5d.wav
|
||
sound_sub3(fscts); // \sound\副刹提示.wav
|
||
sound_sub3(300001); // \sound\嘣1.wav 座椅
|
||
sound_sub3(300002); // \sound\嘣2.wav 后视镜
|
||
sound_sub3(300003); // \sound\嘣3.wav 仪表盘
|
||
sound_sub3(300004); // \sound\嘣2.wav 后视镜(中)
|
||
sound_sub3(471001); // \sound\临时停车.wav
|
||
sound_sub3(456001); // \sound\通过急弯.wav
|
||
sound_sub3(458001); // \sound\通过拱桥.wav
|
||
sound_sub3(zhpp); // \sound\综合评判.wav 请考官综合评判
|
||
sound_sub3(ksjs); // \sound\考试结束.wav
|
||
|
||
sound_subx(xmqx); //项目取消
|
||
|
||
sound_subx(exam_waiting); //exam_waiting.mp3
|
||
sound_subx(ksks); //ksks.WAV
|
||
sound_subx(qualified); //qualified.mp3
|
||
sound_subx(unqualified); //unqualified.mp3
|
||
sound_subx(unqualified_one); //unqualified_one.wav
|
||
sound_subx(unqualified_two); //unqualified_two.wav
|
||
sound_subx(welcome); //welcome.wav
|
||
|
||
//新科三语音
|
||
sound_sub3(sound_green_to);
|
||
|
||
}
|
||
|
||
|
||
|
||
#endif // HDBTABLE_H
|