【功能优化】IOT:枚举和复制到剪贴板方法优化

This commit is contained in:
安浩浩
2024-10-10 21:02:55 +08:00
parent 6d641177b8
commit 18eabfb042
7 changed files with 63 additions and 29 deletions

View File

@ -18,6 +18,12 @@ export interface ProductVO {
createTime: Date // 创建时间
}
// IOT 数据校验级别枚举类
export enum ValidateTypeEnum {
WEAK = 0, // 弱校验
NONE = 1 // 免校验
}
// IoT 产品 API
export const ProductApi = {
// 查询产品分页

View File

@ -14,6 +14,19 @@ export interface ThinkModelFunctionVO {
service: string // 服务
}
// IOT 产品功能(物模型)类型枚举类
export enum ProductFunctionTypeEnum {
PROPERTY = 1, // 属性
SERVICE = 2, // 服务
EVENT = 3 // 事件
}
// IOT 产品功能(物模型)访问模式枚举类
export enum ProductFunctionAccessModeEnum {
READ_WRITE = 'rw', // 读写
READ_ONLY = 'r' // 只读
}
// IoT 产品物模型 API
export const ThinkModelFunctionApi = {
// 查询产品物模型分页