| | |
| | | import type { PageParam, PageResult } from '../../../../packages/effects/request/src'; |
| | | import type { PageParam, PageResult } from '@vben/request'; |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | |
| | |
| | | export interface Machinery { |
| | | id?: number; // 设备编号 |
| | | code?: string; // 设备编码 |
| | | tbDeviceId?: string; // 数采设备ID(外部数采 tbDeviceId) |
| | | name?: string; // 设备名称 |
| | | brand?: string; // 品牌 |
| | | specification?: string; // 规格型号 |
| | |
| | | status?: number; // 设备状态 |
| | | lastMaintenTime?: Date; // 最近保养时间 |
| | | lastCheckTime?: Date; // 最近点检时间 |
| | | productionEfficiency?: number; // 生产效率 |
| | | conveyorBelt?: number; // 传送履带数量 |
| | | workstationId?: number; // 工作站编号 |
| | | workstationName?: string; // 工作站名称 |
| | | remark?: string; // 备注 |
| | | createTime?: Date; // 创建时间 |
| | | } |