grouped object parameters

This commit is contained in:
2025-10-24 15:43:39 +09:00
parent 99bce93c86
commit 84a82c38eb
8 changed files with 334 additions and 131 deletions

View File

@ -1,44 +1,45 @@
export interface IObjectList {
id: number,
name: string,
id: number
name: string
count: number
}
export interface IObjectData {
object_id: string,
id_city: number,
year: number,
id_parent: number | null,
type: number,
planning: boolean,
activity: boolean,
kvr: string | null,
jur: string | null,
fuel: string | null,
object_id: string
id_city: number
year: number
id_parent: number | null
type: number
planning: boolean
activity: boolean
kvr: string | null
jur: string | null
fuel: string | null
boiler_id: string | null
}
export interface IObjectParam {
id_object: string,
id_param: number,
value: string,
date_s: string | null,
date_po: string | null,
id_user: number
export interface IObjectValue {
value: any
date_s: string | null
date_po: string | null
}
export interface IParam {
id: number,
id_group: number | null,
name: string,
format: string,
vtable: string,
unit: string | null,
exact_format: string | null,
inHistory: string | null
export interface IObjectParam {
id_object: string
id_param: number
name: string
date_s: string | null
date_po: string | null
id_user: number
format: string
vtable: string
exact_format: string | null
unit: string | null
values: IObjectValue[]
parameters?: IObjectParam[]
}
export interface IObjectType {
id: number,
id: number
name: string
}