old mode 100644
new mode 100755
| | |
| | | * All backend api type |
| | | */ |
| | | declare namespace Api { |
| | | /** |
| | | * namespace Analy |
| | | * |
| | | * backend api module: "Analy" |
| | | */ |
| | | namespace Analy { |
| | | /** feed match */ |
| | | type FeedMatch = Common.CommonRecord<{ |
| | | /** 时间戳 */ |
| | | time: string; |
| | | /** 班次+机台 */ |
| | | key: string; |
| | | /** 数据更新时间 */ |
| | | dacUpTime: string; |
| | | /** 1#喂丝机对应的第一个储丝柜 */ |
| | | fs11: string; |
| | | /** 1#喂丝机对应的第二个储丝柜 */ |
| | | fs12: string; |
| | | /** 2#喂丝机对应的第一个储丝柜 */ |
| | | fs21: string; |
| | | /** 2#喂丝机对应的第二个储丝柜 */ |
| | | fs22: string; |
| | | /** 3#喂丝机对应的第一个储丝柜 */ |
| | | fs31: string; |
| | | /** 3#喂丝机对应的第二个储丝柜 */ |
| | | fs32: string; |
| | | /** 4#喂丝机对应的第一个储丝柜 */ |
| | | fs41: string; |
| | | /** 4#喂丝机对应的第二个储丝柜 */ |
| | | fs42: string; |
| | | /** 1#机组对应的喂丝机和管道 */ |
| | | pipe01: number; |
| | | /** 2#机组对应的喂丝机和管道 */ |
| | | pipe02: number; |
| | | /** 3#机组对应的喂丝机和管道 */ |
| | | pipe03: number; |
| | | /** 4#机组对应的喂丝机和管道 */ |
| | | pipe04: number; |
| | | /** 5#机组对应的喂丝机和管道 */ |
| | | pipe05: number; |
| | | /** 6#机组对应的喂丝机和管道 */ |
| | | pipe06: number; |
| | | /** 7#机组对应的喂丝机和管道 */ |
| | | pipe07: number; |
| | | /** 8#机组对应的喂丝机和管道 */ |
| | | pipe08: number; |
| | | /** 9#机组对应的喂丝机和管道 */ |
| | | pipe09: number; |
| | | /** 10#机组对应的喂丝机和管道 */ |
| | | pipe10: number; |
| | | /** 11#机组对应的喂丝机和管道 */ |
| | | pipe11: number; |
| | | /** 12#机组对应的喂丝机和管道 */ |
| | | pipe12: number; |
| | | /** 喂丝机状态 1-连接 0-断开 */ |
| | | wsjState: number; |
| | | /** 班次 */ |
| | | shift: number; |
| | | /** 机台 */ |
| | | equNo: number; |
| | | /** 备注 */ |
| | | remark: string; |
| | | }>; |
| | | /** |
| | | * namespace Analy |
| | | * |
| | | * backend api module: "Analy" |
| | | */ |
| | | namespace Analy { |
| | | /** feed match */ |
| | | type FeedMatch = Common.CommonRecord<{ |
| | | /** 时间戳 */ |
| | | time: string; |
| | | /** 班次+机台 */ |
| | | key: string; |
| | | /** 数据更新时间 */ |
| | | dacUpTime: string; |
| | | /** 1#喂丝机对应的第一个储丝柜 */ |
| | | fs11: string; |
| | | /** 1#喂丝机对应的第二个储丝柜 */ |
| | | fs12: string; |
| | | /** 2#喂丝机对应的第一个储丝柜 */ |
| | | fs21: string; |
| | | /** 2#喂丝机对应的第二个储丝柜 */ |
| | | fs22: string; |
| | | /** 3#喂丝机对应的第一个储丝柜 */ |
| | | fs31: string; |
| | | /** 3#喂丝机对应的第二个储丝柜 */ |
| | | fs32: string; |
| | | /** 4#喂丝机对应的第一个储丝柜 */ |
| | | fs41: string; |
| | | /** 4#喂丝机对应的第二个储丝柜 */ |
| | | fs42: string; |
| | | /** 1#机组对应的喂丝机和管道 */ |
| | | pipe01: number; |
| | | /** 2#机组对应的喂丝机和管道 */ |
| | | pipe02: number; |
| | | /** 3#机组对应的喂丝机和管道 */ |
| | | pipe03: number; |
| | | /** 4#机组对应的喂丝机和管道 */ |
| | | pipe04: number; |
| | | /** 5#机组对应的喂丝机和管道 */ |
| | | pipe05: number; |
| | | /** 6#机组对应的喂丝机和管道 */ |
| | | pipe06: number; |
| | | /** 7#机组对应的喂丝机和管道 */ |
| | | pipe07: number; |
| | | /** 8#机组对应的喂丝机和管道 */ |
| | | pipe08: number; |
| | | /** 9#机组对应的喂丝机和管道 */ |
| | | pipe09: number; |
| | | /** 10#机组对应的喂丝机和管道 */ |
| | | pipe10: number; |
| | | /** 11#机组对应的喂丝机和管道 */ |
| | | pipe11: number; |
| | | /** 12#机组对应的喂丝机和管道 */ |
| | | pipe12: number; |
| | | /** 喂丝机状态 1-连接 0-断开 */ |
| | | wsjState: number; |
| | | /** 班次 */ |
| | | shift: number; |
| | | /** 机台 */ |
| | | equNo: number; |
| | | /** 备注 */ |
| | | remark: string; |
| | | }>; |
| | | |
| | | /** feed match search params */ |
| | | type FeedMatchSearchParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.FeedMatch, |
| | | | 'time' |
| | | | 'key' |
| | | > & |
| | | Api.Common.CommonSearchParams |
| | | >; |
| | | /** feed match search params */ |
| | | type FeedMatchSearchParams = CommonType.RecordNullable< |
| | | Pick<Api.Analy.FeedMatch, 'time' | 'key' | 'shift'> & Api.Common.CommonSearchParams |
| | | >; |
| | | |
| | | /** feed match operate params */ |
| | | type FeedMatchOperateParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.FeedMatch, |
| | | | 'time' |
| | | | 'key' |
| | | | 'dacUpTime' |
| | | | 'fs11' |
| | | | 'fs12' |
| | | | 'fs21' |
| | | | 'fs22' |
| | | | 'fs31' |
| | | | 'fs32' |
| | | | 'fs41' |
| | | | 'fs42' |
| | | | 'pipe01' |
| | | | 'pipe02' |
| | | | 'pipe03' |
| | | | 'pipe04' |
| | | | 'pipe05' |
| | | | 'pipe06' |
| | | | 'pipe07' |
| | | | 'pipe08' |
| | | | 'pipe09' |
| | | | 'pipe10' |
| | | | 'pipe11' |
| | | | 'pipe12' |
| | | | 'wsjState' |
| | | | 'shift' |
| | | | 'equNo' |
| | | | 'remark' |
| | | > |
| | | >; |
| | | /** feed match operate params */ |
| | | type FeedMatchOperateParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.FeedMatch, |
| | | | 'time' |
| | | | 'key' |
| | | | 'dacUpTime' |
| | | | 'fs11' |
| | | | 'fs12' |
| | | | 'fs21' |
| | | | 'fs22' |
| | | | 'fs31' |
| | | | 'fs32' |
| | | | 'fs41' |
| | | | 'fs42' |
| | | | 'pipe01' |
| | | | 'pipe02' |
| | | | 'pipe03' |
| | | | 'pipe04' |
| | | | 'pipe05' |
| | | | 'pipe06' |
| | | | 'pipe07' |
| | | | 'pipe08' |
| | | | 'pipe09' |
| | | | 'pipe10' |
| | | | 'pipe11' |
| | | | 'pipe12' |
| | | | 'wsjState' |
| | | | 'shift' |
| | | | 'equNo' |
| | | | 'remark' |
| | | > |
| | | >; |
| | | |
| | | /** feed match list */ |
| | | type FeedMatchList = Api.Common.PaginatingQueryRecord<FeedMatch>; |
| | | } |
| | | /** feed match list */ |
| | | type FeedMatchList = Api.Common.PaginatingQueryRecord<FeedMatch>; |
| | | } |
| | | } |