25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPA.KitChen.GroupMeal.Application.Service.Device.PushDto.ProductFunction
- {
- public class ProductFunctionDto
- {
- public string Id { get; set; }
- /// <summary>
- /// 功能名称
- /// </summary>
- public string Name { get; set; }
- public string DeviceVersionKey { get; set; }
- /// <summary>
- /// 功能类型 0属性1服务2事件
- /// </summary>
- public string Type { get; set; }
- /// <summary>
- /// 数据类型
- /// </summary>
- public string DataType { get; set; }
- /// <summary>
- /// 取值范围
- /// </summary>
- public string DataRange { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string Unit { get; set; }
- /// <summary>
- /// 步长
- /// </summary>
- public decimal StepSize { get; set; }
- /// <summary>
- /// 枚举值
- /// </summary>
- public string EnumValue { get; set; }
- /// <summary>
- /// 数据长度
- /// </summary>
- public string DataLength { get; set; }
- /// <summary>
- /// 数据类型bool的描述
- /// </summary>
- public string BoolLabel { get; set; }
- /// <summary>
- /// 读写类型0读写 1只读
- /// </summary>
- public int ReadWrite { get; set; }
- /// <summary>
- /// 描述
- /// </summary>
- public string Description { get; set; }
- public string ProductId { get; set; }
- public string DataJson { get; set; }
- public bool IsDefault { get; set; }
- public List<ProductFunctionAction> ProductFunctionValue { get; set; }
- }
- public class ProductFunctionAction
- {
- public string Id { get; set; }
- /// <summary>
- /// 功能id
- /// </summary>
- public string ProductFunctionId { get; set; }
- /// <summary>
- /// 动作名称
- /// </summary>
- public string ActionName { get; set; }
- /// <summary>
- /// 类型 (1 输入框 2下拉框)
- /// </summary>
- public string ActionType { get; set; }
- /// <summary>
- /// 类型值(jsong格式)
- /// </summary>
- public string ActionValue { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string Unit { get; set; }
- /// <summary>
- /// 排序
- /// </summary>
- public int Sort { get; set; }
- public bool IsDefault { get; set; }
- }
- }
|