| 123456789101112131415161718192021 |
- // 需要的数据类型
- export const PowerFlowLogTypes: string[] = ["201", "214", "309"];
- interface TimeLineDataType {
- time: Date;
- type: "alarm" | "event" | "info";
- title: string;
- notes?: string;
- }
- export class AlarmData {
- constructor(refresh: () => void) {
- this.refresh = refresh;
- }
- // 刷新接口
- refresh: () => void;
- // 数据
- // dataList: {};
- }
|