You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

78 lines
1.6 KiB

export type ReqStatus = 'idle' | 'loading' | 'succeeded' | 'failed';
export type Measurement = {
id: number;
name: string;
trackShapeCode: string;
operatorName: string;
bureau: string;
lineName: string;
location: string;
direction: string;
createTime: string; // Date;
leftPoints: string; // json: 坐标数组
rightPoints: string; // json: 坐标数组
upload: boolean;
syncStatus: 'wait' | 'finish' | 'fail';
};
export type SettingDTO = {
server: string;
standbyMinutes: number; // 待机分钟数
};
export type KTJOrg = {
key: string;
value: string;
gwdDicList: Array<{
key: string;
value: string;
railDicList: Array<{
key: string;
value: string;
}>;
}>;
};
export type RailType = {
id: number;
name: string;
code: string;
calPoints?: string;
points?: string;
};
export type SaveMeasureDTO = {
operator: string;
name: string;
tljCode: string;
gwdCode: string;
xmCode: string;
stationCode: string;
dataType: string; // 采集方式
dataSource: string;
railSize: string; // 轨型
lineClassify: string; // 线路分类
batch: string;
xbCode: string; // 行别
mileage: string; // 里程
unitType: string; // 股别
extraDesc: string; // 额外描述
};
export type ExtraDesc = {
railSize: string;
tljCode: string;
gwdCode: string;
xmCode: string;
xbCode: string;
stationCode: string;
lineClassify: string;
dataSource: string;
unitType: string;
mile: number;
meter: number;
};
export type StationItem = { key: string; value: string };
export type StationLabelItem = { label: string; value: string };