CString GetAlarmName(int iAlarmType)
{
CString strAlarm = "";
switch (iAlarmType)
{
case 1628:
case 1629:
case 1630:
case 1631:
case 4609:
case 4610:
case 4611:
case 4612:
case 1349://新交规
case 1350://新交规
case 1352://新交规
case 1351://新交规
strAlarm = "超速 未达%20";
break;
case 1722:
case 1723:
case 1724:
case 1725:
case 1726:
case 1727:
case 4706:
case 4707:
case 4708:
case 4709:
case 1632://新交规
case 1633://新交规
case 1634://新交规
case 1635://新交规
case 1636://新交规
strAlarm = "超速 未达%50";
break;
case 1721:
case 1728:
case 4710:
case 4711:
case 4712:
case 4713:
case 1729:
strAlarm = "超速 %50以上";
break;
case 1355:
case 4312:
case 6023:
strAlarm = "不按规定车道行驶";
break;
case 1356:
strAlarm = "人行道未减速行驶";
break;
case 1357:
case 1358:
strAlarm = "人行道未停车让行";
break;
case 1625:
strAlarm = "违反交通信号灯";
break;
case 1717:
strAlarm = "无车牌";
break;
case 1718:
strAlarm = "故意遮挡号牌";
break;
case 1719:
strAlarm = "故意无损号牌";
break;
case 4613:
case 4704:
strAlarm = "高速行车道停车";
break;
case 4614:
case 4705:
strAlarm = "非紧急时应急车道停车";
break;
case 4615:
strAlarm = "能见度低时不按规定行驶";
break;
case 1344:
strAlarm = "黄牌禁限";
break;
case 1345:
strAlarm = "违反禁止线标识";
break;
case 13451:
strAlarm = "压线";
break;
case 13453:
strAlarm = "违反变道";
break;
case 1018:
strAlarm = "机动车不在机动车道行驶";
break;
case 1019:
strAlarm = "机动车违反规定使用专用车道";
break;
case 1044:
strAlarm = "在禁止掉头或者禁止左转弯标志、标线的地点掉头";
break;
case 1208:
strAlarm = "不按所需行进方向驶入导向车道的";
break;
case 1211:
strAlarm = "压停止线";
break;
case 1228:
strAlarm = "路口滞留";
break;
case 1301:
strAlarm = "机动车逆向行驶的";
break;
case 1223:
strAlarm = "驾驶时拨打接听手持电话的";
break;
case 1207:
strAlarm = "驾驶摩托车时,驾驶人未按规定带安全头盔的";
break;
case 1240:
strAlarm = "驾驶人未按规定使用安全带的";
break;
case 1021:
strAlarm = "遇排队或慢行,从车辆两侧穿插行驶的";
break;
case 1022:
strAlarm = "遇排队或慢行,从车辆两侧超越行驶的";
break;
case 1023://新交规
strAlarm = "遇排队或慢行,未依次交替驶入车道减少后的路口、路段的";
break;
case 1039://新交规
strAlarm = "城市道路违法停车";
break;
case 4306://新交规
strAlarm = "低于规定最低时速行驶的";
break;
case 16251://新交规
strAlarm = "信号灯为绿灯信号时,未通过路口停车";
break;
case 1://K0001
strAlarm = "单行路管控";
break;
case 2://K0002
strAlarm = "单双号管控";
break;
case 3://K0003
strAlarm = "限时禁行管控";
break;
default:
strAlarm = "";
break;
}
return strAlarm;
}