服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2025-04-21 318f08db1998f6a9e08f05ec8edc5aec4aad7882
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
 
namespace Tiger.Model.Sharetronic.Shelf
{
    /// <summary>
    ///  单灯亮
    /// </summary>
    public class LightSingleEntity
    {
        /// <summary>
        /// 货架编号,Y1 是货架,F 是货架前侧,R 是后侧
        /// </summary>
        public string shelfNo { get; set; }
        /// <summary>
        /// 灯位地址
        /// </summary>
        public int ledAddr { get; set; }
        /// <summary>
        /// 颜色,0, "灭灯",1:"红色",2:"绿色",3:" 蓝色",4:"黄色",5:"紫色",6:"靛蓝",7:"白色"
        /// </summary>
        public int color { get; set; }
        /// <summary>
        /// 是否覆盖亮灯,0-不支持覆盖式亮灯,1- 支持覆盖式亮灯
        /// </summary>
        public int isCover { get; set; }
        /// <summary>
        /// 货架类型,sensor_shelf 感应式货架,led_shelf LED 灯架
        /// </summary>
        public string shelfType { get; set; }
    }
}