197 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			197 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| import common from '@ohos.app.ability.common'
 | |
| 
 | |
| export interface User {
 | |
|   sfzmhm: string
 | |
|   xm: string
 | |
|   lsh: string
 | |
|   ksy1: string
 | |
|   ksy2: string
 | |
|   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
 | |
|   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;
 | |
|   examSubject?: string;
 | |
|   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 {
 | |
|   commonFileWriteAddress?: string
 | |
|   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;
 | |
| }
 | |
| 
 | |
| export interface JudgeConfigType {
 | |
|   isTrajectoryOpen: boolean;
 | |
|   isPhotoOpen: boolean;
 | |
|   kfVoiceOpen: boolean;
 | |
|   ignoreProjects?: string[];
 | |
|   isCheckFireOpen: boolean;
 | |
|   udpOpen: boolean;
 | |
|   modelPath: string;
 | |
|   trajectoryPath: string;
 | |
|   fourInOneScreen: FourInOneScreenType
 | |
|   systemParamConfig?: SystemParamConfigType
 | |
| }
 | |
| 
 | |
| interface FourInOneScreenType {
 | |
|   gpsDigit: number
 | |
| }
 | |
| 
 | |
| interface SystemParamConfigType {} |