| 
									
										
										
										
											2025-04-10 10:28:07 +08:00
										 |  |  | import common from '@ohos.app.ability.common' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface User { | 
					
						
							|  |  |  |   sfzmhm: string | 
					
						
							|  |  |  |   xm: string | 
					
						
							|  |  |  |   lsh: string | 
					
						
							|  |  |  |   ksy1: string | 
					
						
							|  |  |  |   ksy2: string | 
					
						
							| 
									
										
										
										
											2025-04-15 14:24:27 +08:00
										 |  |  |   id?: string | 
					
						
							| 
									
										
										
										
											2025-04-10 10:28:07 +08:00
										 |  |  |   kszp: string | 
					
						
							|  |  |  |   ksmjzp: string | 
					
						
							|  |  |  |   bz1: string | 
					
						
							|  |  |  |   jxmc: string | 
					
						
							|  |  |  |   kchp: string | 
					
						
							| 
									
										
										
										
											2025-04-15 14:24:27 +08:00
										 |  |  |   kscx?: string | 
					
						
							| 
									
										
										
										
											2025-04-10 10:28:07 +08:00
										 |  |  |   ksdd: string | 
					
						
							|  |  |  |   kssycs: string | 
					
						
							|  |  |  |   ksxl: string | 
					
						
							|  |  |  |   ksy1sfzmhm: string | 
					
						
							|  |  |  |   kszt: string | 
					
						
							|  |  |  |   xb: string | 
					
						
							|  |  |  |   xh: string | 
					
						
							|  |  |  |   xldm: string | 
					
						
							|  |  |  |   yycs: string | 
					
						
							|  |  |  |   ksy2sfzmhm: string | 
					
						
							|  |  |  |   kslx?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface VideoConfig { | 
					
						
							|  |  |  |   videoNum?: string, | 
					
						
							|  |  |  |   spls?: string | 
					
						
							|  |  |  |   faceFlag?: boolean | 
					
						
							|  |  |  |   pztd?: string | 
					
						
							|  |  |  |   ljlx?: string | 
					
						
							|  |  |  |   ip1?: string | 
					
						
							|  |  |  |   port1?: string | 
					
						
							|  |  |  |   td1?: string | 
					
						
							|  |  |  |   userName?: string | 
					
						
							|  |  |  |   pwd?: string | 
					
						
							|  |  |  |   ip?: string | 
					
						
							|  |  |  |   port?: string | 
					
						
							|  |  |  |   td2?: string | 
					
						
							|  |  |  |   userName2?: string | 
					
						
							|  |  |  |   pwd2?: string | 
					
						
							|  |  |  |   ip3?: string | 
					
						
							|  |  |  |   port3?: string | 
					
						
							|  |  |  |   td3?: string | 
					
						
							|  |  |  |   userName3?: string | 
					
						
							|  |  |  |   pwd3?: string | 
					
						
							|  |  |  |   ip4?: string | 
					
						
							|  |  |  |   port4?: string | 
					
						
							|  |  |  |   td4?: string | 
					
						
							|  |  |  |   userName4?: string | 
					
						
							|  |  |  |   pwd4?: string | 
					
						
							|  |  |  |   wz?: string | 
					
						
							|  |  |  |   shuiying?: boolean | 
					
						
							|  |  |  |   videoRecord1?: boolean | 
					
						
							|  |  |  |   videoRecord2?: boolean | 
					
						
							|  |  |  |   videoRecord3?: boolean | 
					
						
							|  |  |  |   videoRecord4?: boolean, | 
					
						
							|  |  |  |   text1?: string | 
					
						
							|  |  |  |   text2?: string | 
					
						
							|  |  |  |   text3?: string | 
					
						
							|  |  |  |   dolt?: string, | 
					
						
							|  |  |  |   fontSize?: string | 
					
						
							|  |  |  |   rlls?: string, | 
					
						
							|  |  |  |   spzd4?: boolean, | 
					
						
							|  |  |  |   spzd3?: boolean, | 
					
						
							|  |  |  |   spzd2?: boolean, | 
					
						
							|  |  |  |   spzd1?: boolean, | 
					
						
							|  |  |  |   zdyz?: string, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface CommonType { | 
					
						
							|  |  |  |   key: string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 基础信息 | 
					
						
							|  |  |  | export interface BaseInfoType { | 
					
						
							|  |  |  |   hasAuth?: boolean, | 
					
						
							|  |  |  |   version?: string, | 
					
						
							|  |  |  |   judgeVersion?: string, | 
					
						
							|  |  |  |   tcpSendNum?: number, | 
					
						
							|  |  |  |   videoVersion?: string, | 
					
						
							|  |  |  |   ratio?: number, | 
					
						
							|  |  |  |   pathDir?: string, | 
					
						
							|  |  |  |   context?: common.UIAbilityContext, | 
					
						
							|  |  |  |   isJudgeInitBool?: boolean, | 
					
						
							|  |  |  |   deviceNo?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface kfdmObj { | 
					
						
							|  |  |  |   xmdm: number | 
					
						
							|  |  |  |   kfdm: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 路由参数 | 
					
						
							|  |  |  | export interface RouteParamsType { | 
					
						
							|  |  |  |   sczb?: string; | 
					
						
							|  |  |  |   kfdm?: kfdmObj[]; | 
					
						
							|  |  |  |   type?: string; | 
					
						
							|  |  |  |   wayno?: string; | 
					
						
							|  |  |  |   kString?: string; | 
					
						
							|  |  |  |   examItems?: string; | 
					
						
							|  |  |  |   fromIndex?: boolean; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 车辆信息 | 
					
						
							|  |  |  | export interface CarInfoType { | 
					
						
							|  |  |  |   carId?: string; | 
					
						
							|  |  |  |   examinationRoomId?: string; | 
					
						
							|  |  |  |   plateNo?: string; | 
					
						
							|  |  |  |   carNo?: string; | 
					
						
							| 
									
										
										
										
											2025-04-11 10:25:51 +08:00
										 |  |  |   examSubject?: string; | 
					
						
							| 
									
										
										
										
											2025-04-10 10:28:07 +08:00
										 |  |  |   isNeedCheck?: string; | 
					
						
							|  |  |  |   udpAddress?: string | 
					
						
							|  |  |  |   messagePort?: string | 
					
						
							|  |  |  |   hintPort?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface ExaminerInfoType { | 
					
						
							|  |  |  |   code?: string | 
					
						
							|  |  |  |   ksyxm?: string | 
					
						
							|  |  |  |   name?: string | 
					
						
							|  |  |  |   sfzmhm?: string | 
					
						
							|  |  |  |   statusRgpp?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 一些运行配置 | 
					
						
							|  |  |  | export interface EnvironmentConfigurationType { | 
					
						
							|  |  |  |   udplocalIp?: string, | 
					
						
							|  |  |  |   udplocalIpPort?: string, | 
					
						
							|  |  |  |   udpOppositeIp?: string, | 
					
						
							|  |  |  |   udpOppositeIpPort?: string, | 
					
						
							|  |  |  |   tcplocalIp?: string, | 
					
						
							|  |  |  |   tcplocalIpPort?: string, | 
					
						
							|  |  |  |   tcpOppositeIp?: string, | 
					
						
							|  |  |  |   tcpOppositePort?: string, | 
					
						
							|  |  |  |   netMask?: string, | 
					
						
							|  |  |  |   gateway?: string, | 
					
						
							|  |  |  |   dnsServers?: string, | 
					
						
							|  |  |  |   centerIp?: string, | 
					
						
							|  |  |  |   centerPort?: string, | 
					
						
							|  |  |  |   terType?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //全局配置 | 
					
						
							|  |  |  | export interface GlobalConfigType { | 
					
						
							| 
									
										
										
										
											2025-04-11 15:48:18 +08:00
										 |  |  |   commonFileWriteAddress?: string | 
					
						
							| 
									
										
										
										
											2025-04-10 10:28:07 +08:00
										 |  |  |   picSavePath?: string | 
					
						
							|  |  |  |   videoSavePath?: string | 
					
						
							|  |  |  |   host?: string | 
					
						
							|  |  |  |   version: VersionType | 
					
						
							|  |  |  |   //   几代机 | 
					
						
							|  |  |  |   modelNo?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface VersionType { | 
					
						
							|  |  |  |   hz: VersionInfo; | 
					
						
							|  |  |  |   hlg: VersionInfo; | 
					
						
							|  |  |  |   jn: VersionInfo; | 
					
						
							|  |  |  |   ly: VersionInfo; | 
					
						
							|  |  |  |   sz: VersionInfo; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface VersionInfo { | 
					
						
							|  |  |  |   km2: string[]; | 
					
						
							|  |  |  |   km3: string[]; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export interface centerCallBackMsgType { | 
					
						
							|  |  |  |   id: number; | 
					
						
							|  |  |  |   length: number; | 
					
						
							|  |  |  |   body: number[]; | 
					
						
							|  |  |  |   sendId: number; | 
					
						
							| 
									
										
										
										
											2025-04-11 14:08:48 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-04-15 14:24:27 +08:00
										 |  |  | export interface JudgeConfigType { | 
					
						
							|  |  |  |   isTrajectoryOpen: boolean; | 
					
						
							|  |  |  |   isPhotoOpen: boolean; | 
					
						
							|  |  |  |   kfVoiceOpen: boolean; | 
					
						
							|  |  |  |   ignoreProjects?: string[]; | 
					
						
							|  |  |  |   isCheckFireOpen: boolean; | 
					
						
							|  |  |  |   udpOpen: boolean; | 
					
						
							|  |  |  |   modelPath: string; | 
					
						
							|  |  |  |   trajectoryPath: string; | 
					
						
							|  |  |  |   fourInOneScreen: FourInOneScreenType | 
					
						
							|  |  |  |   systemParamConfig?: SystemParamConfigType | 
					
						
							| 
									
										
										
										
											2025-04-11 14:08:48 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2025-04-15 14:24:27 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | interface FourInOneScreenType { | 
					
						
							|  |  |  |   gpsDigit: number | 
					
						
							| 
									
										
										
										
											2025-04-11 14:08:48 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-04-15 14:24:27 +08:00
										 |  |  | interface SystemParamConfigType {} |