export interface SchemeDetail {
  burst_ID: string[];
  burst_size: number[];
  modify_total_duration: number;
  modify_fixed_pump_pattern: any;
  modify_valve_opening: any;
  modify_variable_pump_pattern: any;
}

export interface SchemeRecord {
  id: number;
  schemeName: string;
  type: string;
  username: string;
  create_time: string;
  startTime: string;
  // 详情信息
  schemeDetail?: SchemeDetail;
}

export interface SchemaItem {
  scheme_id: number;
  scheme_name: string;
  scheme_type: string;
  username: string;
  create_time: string;
  scheme_start_time: string;
  scheme_detail?: SchemeDetail;
}

export interface ValveIsolationResult {
  accident_elements: string[];
  affected_nodes: string[];
  affected_node_count?: number;
  must_close_valves: string[];
  optional_valves: string[];
  isolatable: boolean;
}
