服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-09-29 564d1fcca01d3c528e283c9feef3ea1a05140e17
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
 
namespace Tiger.Model.Sharetronic.Shelf
{
    /// <summary>
    ///  所有灯全亮
    /// </summary>
    public class LightAllEntity
    {
        /// <summary>
        /// 货架编号,Y1 是货架,F 是货架前侧,R 是后侧
        /// </summary>
        public string shelfNo { 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; }
    }
 
    /// <summary>
    /// 储位亮灯颜色
    /// </summary>
    public enum LedColor
    {
        [Description("灭灯")]//没用
        NoColor,
        [Description("红色")]//系统使用
        Red,
        [Description("绿色")]//系统使用
        Green,
        [Description("蓝色")]
        Blue,
        [Description("黄色")]
        Yellow,
        [Description("紫色")]//AGV专用
        Purple,
        [Description("靛蓝")]
        Indigo,
        [Description("白色")]
        White,
    }
}