| 
									
										
										
										
											2025-02-12 13:17:00 +08:00
										 |  |  | import common from '@ohos.app.ability.common' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-23 10:03:43 +08:00
										 |  |  | export interface User { | 
					
						
							|  |  |  |   sfzmhm: string | 
					
						
							|  |  |  |   xm: string | 
					
						
							|  |  |  |   lsh: string | 
					
						
							|  |  |  |   ksy1: string | 
					
						
							| 
									
										
										
										
											2024-08-27 10:14:06 +08:00
										 |  |  |   ksy2: string | 
					
						
							| 
									
										
										
										
											2024-02-23 10:03:43 +08:00
										 |  |  |   id: string | 
					
						
							|  |  |  |   kszp: string | 
					
						
							|  |  |  |   ksmjzp: string | 
					
						
							|  |  |  |   bz1: string | 
					
						
							|  |  |  |   jxmc: string | 
					
						
							|  |  |  |   kchp: string | 
					
						
							|  |  |  |   kscx: string | 
					
						
							|  |  |  |   ksdd: string | 
					
						
							|  |  |  |   kssycs: string | 
					
						
							|  |  |  |   ksxl: string | 
					
						
							|  |  |  |   ksy1sfzmhm: string | 
					
						
							|  |  |  |   kszt: string | 
					
						
							|  |  |  |   xb: string | 
					
						
							|  |  |  |   xh: string | 
					
						
							|  |  |  |   xldm: string | 
					
						
							|  |  |  |   yycs: string | 
					
						
							|  |  |  |   ksy2sfzmhm: string | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  |   kslx?: string | 
					
						
							| 
									
										
										
										
											2024-02-23 10:03:43 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-11 09:09:34 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  | export interface VideoConfig { | 
					
						
							|  |  |  |   videoNum?: string, | 
					
						
							| 
									
										
										
										
											2025-03-26 10:18:14 +08:00
										 |  |  |   spls?: string | 
					
						
							|  |  |  |   faceFlag?: boolean | 
					
						
							|  |  |  |   pztd?: string | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  |   ljlx?: string | 
					
						
							| 
									
										
										
										
											2024-01-05 11:11:15 +08:00
										 |  |  |   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 | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  |   shuiying?: boolean | 
					
						
							|  |  |  |   videoRecord1?: boolean | 
					
						
							|  |  |  |   videoRecord2?: boolean | 
					
						
							|  |  |  |   videoRecord3?: boolean | 
					
						
							|  |  |  |   videoRecord4?: boolean, | 
					
						
							|  |  |  |   text1?: string | 
					
						
							|  |  |  |   text2?: string | 
					
						
							|  |  |  |   text3?: string | 
					
						
							|  |  |  |   dolt?: string, | 
					
						
							|  |  |  |   fontSize?: string | 
					
						
							| 
									
										
										
										
											2025-03-26 10:18:14 +08:00
										 |  |  |   rlls?: string, | 
					
						
							| 
									
										
										
										
											2025-03-26 14:58:38 +08:00
										 |  |  |   spzd4?: boolean, | 
					
						
							|  |  |  |   spzd3?: boolean, | 
					
						
							|  |  |  |   spzd2?: boolean, | 
					
						
							|  |  |  |   spzd1?: boolean, | 
					
						
							| 
									
										
										
										
											2025-03-26 10:18:14 +08:00
										 |  |  |   zdyz?: string, | 
					
						
							| 
									
										
										
										
											2024-01-05 11:11:15 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2025-01-20 08:50:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-11 11:29:19 +08:00
										 |  |  | export interface CommonType { | 
					
						
							|  |  |  |   key: string; | 
					
						
							| 
									
										
										
										
											2025-02-12 13:17:00 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2025-02-17 14:20:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-03-19 10:35:16 +08:00
										 |  |  | // 基础信息 | 
					
						
							| 
									
										
										
										
											2025-02-17 14:20:40 +08:00
										 |  |  | export interface BaseInfoType { | 
					
						
							|  |  |  |   hasAuth?: boolean, | 
					
						
							|  |  |  |   version?: string, | 
					
						
							|  |  |  |   judgeVersion?: string, | 
					
						
							|  |  |  |   tcpSendNum?: number, | 
					
						
							|  |  |  |   videoVersion?: string, | 
					
						
							|  |  |  |   ratio?: number, | 
					
						
							|  |  |  |   pathDir?: string, | 
					
						
							|  |  |  |   context?: common.UIAbilityContext, | 
					
						
							|  |  |  |   isJudgeInitBool?: boolean, | 
					
						
							|  |  |  |   deviceNo?: string | 
					
						
							| 
									
										
										
										
											2025-02-19 13:24:07 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 路由参数 | 
					
						
							|  |  |  | export interface RouteParamsType { | 
					
						
							|  |  |  |   sczb?: string; | 
					
						
							|  |  |  |   kfdm?: string; | 
					
						
							| 
									
										
										
										
											2025-03-18 17:41:54 +08:00
										 |  |  |   type?: string; | 
					
						
							| 
									
										
										
										
											2025-03-19 14:53:05 +08:00
										 |  |  |   wayno?: string; | 
					
						
							|  |  |  |   kString?: string; | 
					
						
							|  |  |  |   examItems?: string; | 
					
						
							| 
									
										
										
										
											2025-03-24 15:51:27 +08:00
										 |  |  |   fromIndex?: boolean; | 
					
						
							| 
									
										
										
										
											2025-03-19 10:35:16 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 车辆信息 | 
					
						
							|  |  |  | export interface CarInfoType { | 
					
						
							|  |  |  |   carId?: string; | 
					
						
							|  |  |  |   examinationRoomId?: string; | 
					
						
							|  |  |  |   plateNo?: string; | 
					
						
							|  |  |  |   carNo?: string; | 
					
						
							|  |  |  |   examSubject?: string; | 
					
						
							|  |  |  |   isNeedCheck?: string; | 
					
						
							|  |  |  |   udpAddress?: string | 
					
						
							|  |  |  |   messagePort?: string | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // TODO | 
					
						
							| 
									
										
										
										
											2025-03-26 14:15:40 +08:00
										 |  |  | export interface ExaminerInfoType {} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 一些运行配置 | 
					
						
							|  |  |  | 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 | 
					
						
							|  |  |  | } |