private void OpenDialog(string menuTag, string menuName) { CarForm module = null; switch (menuTag.ToLower()) { //添加打开视频窗口 2013.12.16 周立山 //case "itmcarvideo": // { // if (_carVideoForm != null) // { // if (!_carVideoForm.IsDisposed) // { // try // { // _carVideoForm.Close(); // } // catch { } // } // _carVideoForm = null; // } // _carVideoForm = new CarVideoForm(myCarList.SelectedCarId); // _carVideoForm.Show(); // } // break; case "itmquery1": this.RealTimePlaceQuery(); break; case "itmimportreport": this.StressWatchQuery(); break; case "itmcarplaytrack": this.ContrailReturnQuery(); break; case "batchsetareaalarm": { itmSetRegionAlarmEx ex = new itmSetRegionAlarmEx(CmdParam.OrderCode.区域报警设置) { Text = menuName }; ex.ShowDialog(); ex.Dispose(); ex = null; break; } case "itmshowoutregion": myMap.execShowAlarmRegion(Client.Map.ShowRegionType.越出区域); break; case "itmshowinregion": myMap.execShowAlarmRegion(Client.Map.ShowRegionType.进入区域); break; case "itmpresetregion": { m2mPreSetRegion region = new m2mPreSetRegion(itmPreSetPath.PreType.预设报警区域) { Text = menuName }; region.ShowDialog(); region.Dispose(); region = null; break; } case "itmshowmultioutreg": myMap.execShowAlarmRegion(Map.ShowRegionType.多功能越出区域); break; case "itmshowmultiinreg": myMap.execShowAlarmRegion(Map.ShowRegionType.多功能进入区域); break; case "itmpresetmultireg": { itmPreSetRegion region2 = new itmPreSetRegion(itmPreSetPath.PreType.预设多功能报警区域) { Text = menuName }; region2.ShowDialog(); region2.Dispose(); region2 = null; break; } case "itmpresetstation": { itmPreSetStation itmPreSetStation = new itmPreSetStation { Text = menuName }; itmPreSetStation.ShowDialog(); itmPreSetStation.Dispose(); break; } case "itmshowpath": myMap.execShowPath(); break; case "itmclearpath": myMap.execClearPath(); break; case "itmpresetpath": { itmPreSetPath path = new itmPreSetPath(itmPreSetPath.PreType.预设报警路线) { Text = menuName }; path.ShowDialog(); path.Dispose(); path = null; break; } case "itmzbnavigation": MessageBox.Show("请在地图上选择目的地!"); myMap.setNavigationTool(); break; case "itmzbdistributary": MessageBox.Show("请在地图上选择目的地!"); myMap.setDistributaryTool(); break; case "itmsetcarinit": { itmSetCarInit init = new itmSetCarInit("车台初始化参数设置") { Text = menuName }; init.ShowDialog(); init.Dispose(); init = null; break; } case "itmclearcartrack": myMap.execDeleteCar(myCarList.SelectedCarId); myCarList.setCarOffline(myCarList.SelectedCarId); break; case "itmcardetail": { itmCarDetail detail = new itmCarDetail { Text = menuName }; detail.ShowDialog(); detail.Dispose(); detail = null; break; } default: module = this.GetModule(menuTag, menuName); break; } if (module != null) { module.ShowDialog(); module.Dispose(); module = null; } if (((Process.GetCurrentProcess().WorkingSet64 / 1024) / 1000) > 1000) { GC.Collect(); GC.Collect(); GC.Collect(); if (base.WindowState == FormWindowState.Normal) { base.WindowState = FormWindowState.Minimized; base.WindowState = FormWindowState.Normal; } else if (base.WindowState == FormWindowState.Maximized) { base.WindowState = FormWindowState.Minimized; base.WindowState = FormWindowState.Maximized; } } }
private CarForm GetModule(string menuTag, string menuName) { CarForm form = null; switch (menuTag.ToLower()) { case "itmquery": return new itmRealTimeReport(CmdParam.OrderCode.位置查询) { Text = menuName }; case "itmrealtimereport": return new itmRealTimeReport(CmdParam.OrderCode.实时监控) { Text = menuName }; case "itmzipreport": return new itmRealTimeReport(CmdParam.OrderCode.压缩监控) { Text = menuName }; case "itmpollreport": return new itmRealTimeReport(CmdParam.OrderCode.设置轮询监控) { Text = menuName }; case "itmtaxireport": return new itmTaxiReport(CmdParam.OrderCode.设置出租车监控) { Text = menuName }; case "itmmobilewatch": if (this.CheckAllLCSCar()) { return new itmCarLBSParam(CmdParam.OrderCode.手机监控) { Text = menuName }; } return null; case "itmstopreport": return new itmStopReport(CmdParam.OrderCode.停止监控) { Text = menuName }; case "itmstoppoll": return new itmStopReport(CmdParam.OrderCode.停止轮询监控) { Text = menuName }; case "itmblindrepair": return new itmBlindRepair(CmdParam.OrderCode.设置盲区补偿) { Text = menuName }; case "itmmonitorview": return new db44RealTimeReport(CmdParam.OrderCode.定距监控查看) { Text = menuName }; case "itmhistorytrack": return new db44AccidentData(CmdParam.OrderCode.历史轨迹) { Text = menuName }; case "itmaccidentdata": return new db44AccidentData(CmdParam.OrderCode.事故疑点数据) { Text = menuName }; case "itmrealtimeimage": return new itmRealTimeImage(CmdParam.OrderCode.实时图像监控) { Text = menuName }; case "itmcardoorimage": return new itmRealTimeImage(CmdParam.OrderCode.多种条件图像监控) { Text = menuName }; case "itmstopimagereport": return new itmRealTimeImage(CmdParam.OrderCode.停止图像监控) { Text = menuName }; case "itmdevpictransport": return new itmCarReport(CmdParam.OrderCode.终端图片上传) { Text = menuName }; case "itmsetphoto": return new m2mShootPhoto(CmdParam.OrderCode.图像设置指令) { Text = menuName }; case "itmgetphotoname": return new m2mGetPhoto(CmdParam.OrderCode.图像名称查询指令) { Text = menuName }; case "itmgetphotobyname": return new m2mGetPhoto(CmdParam.OrderCode.获取指定图片上传指令) { Text = menuName }; case "itmdeftimeimage": return new itmRealTimeImage(CmdParam.OrderCode.定时抓拍图像监控) { Text = menuName }; case "itmcdeftimeimage": return new itmCarReport(CmdParam.OrderCode.取消定时抓拍图像监控) { Text = menuName }; case "itmsetblackreport": return new itmSetBlackReport(CmdParam.OrderCode.黑匣子采样) { Text = menuName }; case "itmblackdataupload": return new itmCarReport(CmdParam.OrderCode.设置黑匣子数据上传) { Text = menuName }; case "itmstopblackreport": return new itmSetBlackReport(CmdParam.OrderCode.停止黑匣子采样) { Text = menuName }; case "getphoto": return new getphoto(CmdParam.OrderCode.根据条件获得黑匣子图片) { Text = menuName }; case "delphoto": return new getphoto(CmdParam.OrderCode.根据条件删除图片) { Text = menuName }; case "itmbatchname": return new itmCarReport(CmdParam.OrderCode.实时点名查询) { Text = menuName }; case "itmtrain": return new itmCarReport(CmdParam.OrderCode.驾培信息查询) { Text = menuName }; case "itmlastdot": return new itmCarReport(CmdParam.OrderCode.末次位置查询) { Text = menuName }; case "itmdriveridentity": return new db44NoParamForm(CmdParam.OrderCode.驾驶员身份) { Text = menuName }; case "itmsetregionalarm": return new itmSetRegionAlarm(CmdParam.OrderCode.设置区域报警) { Text = menuName }; case "itmcancelregalarm": return new m2mCancelRegionAlarm(CmdParam.OrderCode.取消报警区域值) { Text = menuName }; case "itmdistrictalarm": return new itmSetDistrictAlarm(CmdParam.OrderCode.设置行政区域报警) { Text = menuName }; case "itmsetregionstalarm": return new m2mSetRegionTimeAlarm(CmdParam.OrderCode.区域超时停车报警设置) { Text = menuName }; case "itmcregionstalarm": return new m2mCancleReport(CmdParam.OrderCode.区域超时停车报警设置, "取消区域内超时停车报警"); case "itmsetexternalalarm": return new m2mSetRegionTimeAlarm(CmdParam.OrderCode.区域外罐车反转报警设置) { Text = menuName }; case "itmcexternalalarm": return new m2mCancleReport(CmdParam.OrderCode.区域外罐车反转报警设置, "取消区域外罐车反转报警"); case "itmplatregionalarm": return new JTBitmSetPlatformRegionAlarm(CmdParam.OrderCode.设置区域报警) { Text = menuName }; case "itmcarbebacktime": return new itmCarBeBackTime { Text = menuName }; case "itmcariorangetime": return new itmCarInOutOfRangeTime { Text = menuName }; case "itmsetmultiregion": return new itmSetRegionAlarm(CmdParam.OrderCode.设置多功能区域报警) { Text = menuName }; case "itmsetjtbregion": return new JTBitmSetRegionAlarm(CmdParam.OrderCode.设置多功能区域报警) { Text = menuName }; case "itmundomultiregion": return new JTBitmCancelRegionAlarm(CmdParam.OrderCode.取消报警区域值, "取消多功能区域报警"); case "itmsetoverspeed": return new itmSetOverSpeed(CmdParam.OrderCode.设置超速报警) { Text = menuName }; case "itmcancelspeed": return new itmCarReport(CmdParam.OrderCode.取消超速报警) { Text = menuName }; case "itmsetspeedearly": return new itmSetOverSpeed(CmdParam.OrderCode.设置超速预警) { Text = menuName }; case "itmcancelspeedearly": return new itmCancelOverSpeedEarly(CmdParam.OrderCode.取消超速预警) { Text = menuName }; case "itmregionspeedalarm": return new m2mSetRegionSpeedAlarm(CmdParam.OrderCode.区域内超速报警设置) { Text = menuName }; case "itmsetspeedintalarm": return new m2mSetSpeedInTimeAlarm(CmdParam.OrderCode.带时间段的超速设置) { Text = menuName }; case "itmsegpath": return new itmSegPath(CmdParam.OrderCode.设置分路段超速报警) { Text = menuName }; case "itmsetjtbpath": return new JTBitmSegPath(CmdParam.OrderCode.设置分路段超速报警) { Text = menuName }; case "itmsetjtbpathex": return new JTBitmSegPathEX(CmdParam.OrderCode.设置分路段超速报警) { Text = menuName }; case "itmsetpathalarm": return new itmSetPathAlarm(CmdParam.OrderCode.设置偏移路线报警) { Text = menuName }; case "itmcancelpathalarm": return new JTBitmCancelPathAlarm(CmdParam.OrderCode.取消偏移路线报警) { Text = menuName }; case "itmdynpathalarmon": return new itmCarReport(CmdParam.OrderCode.开启报警路线动态下载) { Text = menuName }; case "itmdynpathalarmoff": return new itmCarReport(CmdParam.OrderCode.关闭报警路线动态下载) { Text = menuName }; case "itmplatsegpath": return new JTBitmSetPlatformPathSegmentAlarm(CmdParam.OrderCode.设置分路段超速报警) { Text = menuName }; case "itmsetplatpath": return new JTBitmSetPlatformPathAlarm(CmdParam.OrderCode.设置偏移路线报警) { Text = menuName }; case "itmsetoilalarm": return new itmSetOilAlarm(CmdParam.OrderCode.设置油量报警阈值) { Text = menuName }; case "itmsetoilrefvalue": return new itmSetOilRefValue(CmdParam.OrderCode.配置油量检测参考值) { Text = menuName }; case "itmstartoilreport": return new m2mOilReport(CmdParam.OrderCode.开启油耗功能) { Text = menuName }; case "itmstopoilreport": return new m2mCancleReport(CmdParam.OrderCode.开启油耗功能, "关闭油耗功能") { Text = menuName }; case "itemsettemp": return new itemsettemp(CmdParam.OrderCode.设置温度报警) { Text = menuName }; case "itmgettemp": return new itmCarReport(CmdParam.OrderCode.获得当前车台温度) { Text = menuName }; case "itmcarovertimedrive": return new itmCarOverTimeDrive(CmdParam.OrderCode.设置超时驾驶报警) { Text = menuName }; case "itmcarovertimestop": return new itmCarOverTimeStop(CmdParam.OrderCode.设置超时停车报警) { Text = menuName }; case "itmsetforbiddrive": return new itmCarForbidDriveAlarm(CmdParam.OrderCode.设置禁驾报警) { Text = menuName }; case "itmviewoverspeed": return new db44NoParamForm(CmdParam.OrderCode.查询2个日历天内超时驾驶) { Text = menuName }; case "itmcarstopalarm": return new itmStopReport(CmdParam.OrderCode.停止报警) { Text = menuName }; case "itmsetmeter": return new m2mMeter(CmdParam.OrderCode.设置计价器) { Text = menuName }; case "itmlockmeter": return new itmLockMeter(CmdParam.OrderCode.停机时间命令) { Text = menuName }; case "itmquerymeter": return new m2mMeter(CmdParam.OrderCode.查询计价器) { Text = menuName }; case "itmsetgathertimer": return new JTBSetCanGatherInterval(CmdParam.OrderCode.设置CAN采集间隔) { Text = menuName }; case "itmseturgentacc": return new JTBSetUrgentAcceleration(CmdParam.OrderCode.设置急加速参数) { Text = menuName }; case "itmsetrapiddowm": return new JTBSetRapidSlowdown(CmdParam.OrderCode.设置急减速参数) { Text = menuName }; case "itmsetengineover": return new JTBSetEngineOverspeed(CmdParam.OrderCode.设置发动机超转参数) { Text = menuName }; case "itmsetlongidle": return new JTBSetLongIdleTimes(CmdParam.OrderCode.设置超长怠速允许时长) { Text = menuName }; case "itmsetcarrecord": return new m2mSetRegionAlarm(CmdParam.OrderCode.行车记录设置, "移动行车记录设置") { Text = menuName }; case "itmledstartstop": return new m2mLedSetTimeRes(CmdParam.OrderCode.LED开启或关闭) { Text = menuName }; case "itmledsendmsg": return new m2mSendMsg(CmdParam.OrderCode.LED短信下发) { Text = menuName }; case "itmleddeletemsg": return new m2mLedDelMsg(CmdParam.OrderCode.LED删除指定LED短信) { Text = menuName }; case "itmsetledparam": return new m2mLedDelMsg(CmdParam.OrderCode.LED短信属性设置) { Text = menuName }; case "itmsetledlight": return new m2mLedSetLight(CmdParam.OrderCode.LED屏亮度设置) { Text = menuName }; case "itminterestpoint": return new m2mSetPathAlarm(CmdParam.OrderCode.下载兴趣点) { Text = menuName }; case "itmcutpower": return new itmCutPower(CmdParam.OrderCode.断电) { Text = menuName }; case "itmresumepower": return new itmCutPower(CmdParam.OrderCode.断电恢复) { Text = menuName }; case "itmlockcar": return new itmCutPower(CmdParam.OrderCode.锁车) { Text = menuName }; case "itmunlockcar": return new itmCutPower(CmdParam.OrderCode.解锁) { Text = menuName }; case "itmpointtopoint": return new itmPointToPoint(CmdParam.OrderCode.点对点电召) { Text = menuName }; case "itmsenttextmess": return new itmSendTextMess(CmdParam.OrderCode.调度) { Text = menuName }; case "itmspeechsounds": return new itmSetSpeechSounds(CmdParam.OrderCode.设置语音播报) { Text = menuName }; case "itmsetfirstmsg": return new m2mSendMsg(CmdParam.OrderCode.设置一级短信, 1) { Text = menuName }; case "itmsetsecondmsg": return new m2mSendMsg(CmdParam.OrderCode.设置一级短信, 2) { Text = menuName }; case "itmbelisten": return new itmBeListen(CmdParam.OrderCode.设置被动监听) { Text = menuName }; case "itmanswerphone": return new itmModCenterPhone(CmdParam.OrderCode.回拔坐席电话指令) { Text = menuName }; case "itmzbnavigation": return new itmZBNavigation(CmdParam.OrderCode.展博屏一键导航) { Text = menuName }; case "itmzbdistributary": return new itmZBDistributary(CmdParam.OrderCode.展博屏分流短信) { Text = menuName }; case "itmgetcarsoftver": return new itmCarReport(CmdParam.OrderCode.获得车台终端的软件版本) { Text = menuName }; case "itmremoteupdatecar": if (MessageBox.Show("您确定要升级车台软件吗?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) { itmCarReport report = new itmCarReport(CmdParam.OrderCode.远程升级车台软件) { Text = menuName }; form = report; } return form; case "itmcarreset": return new itmCarReset(CmdParam.OrderCode.设置车台复位) { Text = menuName }; case "itemsmscarreset": return new itmCarReport(CmdParam.OrderCode.短信强制复位) { Text = menuName }; case "itmcarpost": return new itmCarReset(CmdParam.OrderCode.自检) { Text = menuName }; case "itmviewtelnetagrs": return new db44SetRemoteInit(CmdParam.OrderCode.远程参数查看) { Text = menuName }; case "itmsettelnetagrs": return new db44SetRemoteInit(CmdParam.OrderCode.远程参数设置) { Text = menuName }; case "itmviewmileagecnt": return new db44MileageCnt(CmdParam.OrderCode.查询累计里程) { Text = menuName }; case "itmsetmileagecnt": return new itmSetMileageCnt(CmdParam.OrderCode.设置车台总里程) { Text = menuName }; case "itmsetsuperpass": return new itmResetManagePass(CmdParam.OrderCode.修改车台超级密码) { Text = menuName }; case "itmresetmanagepass": return new itmResetManagePass(CmdParam.OrderCode.重置车台管理密码) { Text = menuName }; case "itmresetstealpass": return new itmResetManagePass(CmdParam.OrderCode.重置车台防盗密码) { Text = menuName }; case "itmresetcommupass": return new itmResetManagePass(CmdParam.OrderCode.重置车台通话密码) { Text = menuName }; case "itmsetcarinit": { itmSetCarInit init = new itmSetCarInit("车台初始化参数设置") { Text = menuName }; init.ShowDialog(); init.Dispose(); init = null; return form; } case "itmsetalarmparam": return new m2mSetAlarmParam(CmdParam.OrderCode.报警参数设置) { Text = menuName }; case "itmsetphonetime": return new itmCarOverTimeStop(CmdParam.OrderCode.设置通话时间限制) { Text = menuName }; case "itmsetcharactermod": return new db44MileageCnt(CmdParam.OrderCode.设置特征系数) { Text = menuName }; case "itmsetcommunication": return new m2mSetCarInit(CmdParam.OrderCode.设置GPRS链接维持报文) { Text = menuName }; case "itmsetphonestatus": return new m2mModCenterPhone(CmdParam.OrderCode.控制车机通话权限, "设置车机通话权限") { Text = menuName }; case "itmsetlimitphone": return new m2mModCenterPhone(CmdParam.OrderCode.设置限拨的电话号码, "设置限拨的电话号码") { Text = menuName }; case "itmcancellimitphone": return new m2mModCenterPhone(CmdParam.OrderCode.设置取消限拨的电话号, "取消限拨的电话号码") { Text = menuName }; case "itmsetcenterphone": return new itmModCenterPhone(CmdParam.OrderCode.设置监控中心号码) { Text = menuName }; case "itmmodcenterphone": return new itmModCenterPhone(CmdParam.OrderCode.修改监控中心号码) { Text = menuName }; case "itmsetmobilecenter": return new itmModCenterPhone(CmdParam.OrderCode.设置移动监控中心号码) { Text = menuName }; case "itmsetalarmphone": return new itmModCenterPhone(CmdParam.OrderCode.设置语音报警电话号码) { Text = menuName }; case "itmsetlistenphone": return new itmModCenterPhone(CmdParam.OrderCode.设置中心监听号码) { Text = menuName }; case "itmsetmedicalphone": return new itmModCenterPhone(CmdParam.OrderCode.设置医疗服务电话号码) { Text = menuName }; case "itmsetrepairphone": return new itmModCenterPhone(CmdParam.OrderCode.设置维修服务电话号码) { Text = menuName }; case "itmsethelpphone": return new itmModCenterPhone(CmdParam.OrderCode.设置救助服务电话号码) { Text = menuName }; case "itmclearcartrack": myMap.execDeleteCar(myCarList.SelectedCarId); myCarList.setCarOffline(myCarList.SelectedCarId); return form; case "itmcardetail": { itmCarDetail detail = new itmCarDetail { Text = menuName }; detail.ShowDialog(); detail.Dispose(); detail = null; return form; } case "itmlistenplatphone": return new itmModCenterPhone(CmdParam.OrderCode.监控平台电话号码) { Text = menuName }; case "itmreplacementphone": return new itmModCenterPhone(CmdParam.OrderCode.复位电话号码) { Text = menuName }; case "itmresumefacphone": return new itmModCenterPhone(CmdParam.OrderCode.恢复出厂设置电话号码) { Text = menuName }; case "itmtermipolicphone": return new itmModCenterPhone(CmdParam.OrderCode.接收终端SMS文本报警号码) { Text = menuName }; case "itmsetphonepolicy": return new itmCarReset(CmdParam.OrderCode.终端电话接听策略) { Text = menuName }; case "itmcutgprsconnect": return new itmCarReport(CmdParam.OrderCode.断开GPRS连接) { Text = menuName }; case "itmshutterminal": return new itmCarReport(CmdParam.OrderCode.终端关机) { Text = menuName }; case "itmshutwirecommnica": return new itmCarReport(CmdParam.OrderCode.关闭所有无线通信) { Text = menuName }; case "itmtemppostracking": return new JTBTemporaryPositionTracking(CmdParam.OrderCode.临时位置跟踪控制) { Text = menuName }; case "itmmultirealreport": return new JTBitmRealTimeReport(CmdParam.OrderCode.多条件实时位置监控) { Text = menuName }; case "itmtermiheartinter": return new JTBTerminalHeartInterval(CmdParam.OrderCode.设置终端心跳发送间隔) { Text = menuName }; case "itmsetresandretrans": return new JTBSetResponseAndRetransmission(CmdParam.OrderCode.设置应答超时时间和重传次数) { Text = menuName }; case "itmsetprovdomid": return new JTBSetProvincesDomainID(CmdParam.OrderCode.设置省市域ID) { Text = menuName }; case "itmsetcarnumcolor": return new JTBSetCarNumberAndColor(CmdParam.OrderCode.设置车牌和车牌颜色) { Text = menuName }; case "itmwireupgradecmd": return new JTBWirelessUpgradeCommand(CmdParam.OrderCode.无线升级) { Text = menuName }; case "itmsettelebook": return new JTBSetTelephoneBook(CmdParam.OrderCode.设置电话本) { Text = menuName }; case "itmmuldataretrieval": return new JTBMultimediaDataRetrieval(CmdParam.OrderCode.多媒体数据检索) { Text = menuName }; case "itmmuldataupload": return new JTBMultimediaDataUpload(CmdParam.OrderCode.多媒体数据上传) { Text = menuName }; case "itmsoundrecordcmd": return new JTBSoundRecordCommand(CmdParam.OrderCode.录音命令) { Text = menuName }; case "itmeventset": return new JTBEventSet(CmdParam.OrderCode.事件设置) { Text = menuName }; case "itmordermenuset": return new JTBEventSet(CmdParam.OrderCode.点播菜单设置) { Text = menuName }; case "itmcumulatedrivetm": return new JTBCumulativeDrivingTimeOfDay(CmdParam.OrderCode.当天累计驾驶时间门限) { Text = menuName }; case "itmacquirecarspeed": return new JTBAcquisitionCarSpeedData(CmdParam.OrderCode.采集行驶速度数据) { Text = menuName }; case "itmsendquestion": return new JTBSendQuestion(CmdParam.OrderCode.发送提问) { Text = menuName }; case "itmplatpriphone": return new itmModCenterPhone(CmdParam.OrderCode.监管平台特权短信号码) { Text = menuName }; case "itmctrltermiconn": return new JTBControlTerminalConnectBySMS(CmdParam.OrderCode.控制终端连接) { Text = menuName }; case "itmsetpicparam": return new JTBSetPictureParam(CmdParam.OrderCode.设置图片参数) { Text = menuName }; case "itminfoservice": return new JTBInformationService(CmdParam.OrderCode.信息服务) { Text = menuName }; case "itmthoroughlycmd": return new JTBThoroughlyCommand(CmdParam.OrderCode.透传数据命令) { Text = menuName }; case "itmreissueposinfo": return new JTBReplacementLocationInformation(CmdParam.OrderCode.补发车辆定位信息请求) { Text = menuName }; case "itmreplaceposinfo": return new JTBReplacementLocationInformation(CmdParam.OrderCode.申请交换指定车辆定位信息请求) { Text = menuName }; case "itmcarcancelreq": return new JTBCarCancelRequest(CmdParam.OrderCode.取消交换指定车辆定位信息请求) { Text = menuName }; case "itmreppoliceinfo": return new JTBReportPoliceInfo(CmdParam.OrderCode.上报警情信息) { Text = menuName }; case "itmdynarepairinfor": return new JTBDynamicRepairInformation(CmdParam.OrderCode.车辆动态信息补发请求) { Text = menuName }; case "itmseteleccrawlradi": return new JTBSetElectronicRailRadius(CmdParam.OrderCode.设置电子围栏半径) { Text = menuName }; case "itmsinglemediaupcm": return new JTBSigleMultimediaDataUpload(CmdParam.OrderCode.单条存储多媒体数据检索上传命令) { Text = menuName }; case "itmdrivercodelicens": return new itmCarReport(CmdParam.OrderCode.采集驾驶证号及对应的机动车驾驶证号) { Text = menuName }; case "itmtraveltimeclock": return new itmCarReport(CmdParam.OrderCode.采集记录仪的实时时钟) { Text = menuName }; case "itmtravelcarparam": return new itmCarReport(CmdParam.OrderCode.采集记录仪中的车辆特征系数) { Text = menuName }; case "itmcarvincarnumclas": return new itmCarReport(CmdParam.OrderCode.采集车辆VIN号和车牌号码以及车牌分类) { Text = menuName }; case "itmjtbaccidentdata": return new itmCarReport(CmdParam.OrderCode.采集记录仪中事故疑点数据) { Text = menuName }; case "itmsetdricodelicens": return new JTBSetDriverCodeAndLicense(CmdParam.OrderCode.设置驾驶员代码和驾驶证号码) { Text = menuName }; case "itmsetcarvincarnum": return new JTBSetCarVinAndClass(CmdParam.OrderCode.设置记录仪中的车辆VIN号和车牌号以及车牌分类) { Text = menuName }; case "itmsettravelclock": return new JTBTravellingClock(CmdParam.OrderCode.设置记录仪时钟) { Text = menuName }; case "itmqueryterminalpar": return new itmCarReport(CmdParam.OrderCode.查询终端参数配置) { Text = menuName }; case "itmsetcarlock": return new JTBitmCutPower(CmdParam.OrderCode.重工项目锁车) { Text = menuName }; case "itmspeedandrank": return new PlatformcheckRoadSpeedAndRank(CmdParam.OrderCode.设置分路段超速报警) { Text = menuName }; } return form; }