modelOfMatterModel.ts
719 Bytes
import { FunctionType } from '/@/views/device/profiles/step/cpns/physical/cpns/config';
export interface Specs {
min: string;
max: string;
unit: string;
unitName: string;
step: string;
length: string;
boolOpen: string;
boolClose: string;
valueRange?: {
min: string;
max: string;
};
}
export interface FunctionJson {
type: string;
specs?: Partial<Specs> | ModelOfMatterParams[];
}
export interface ModelOfMatterParams {
deviceProfileId: string;
functionJson: FunctionJson;
functionName: string;
functionType: FunctionType;
identifier: string;
remark: string;
id?: string;
}
export interface GetModelTslParams {
functionType: FunctionType;
deviceProfileId: string;
}