redis读取可配置
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
[SugarTable("base_redis_read_config")]
|
||||
public class RedisReadConfig : BaseEntity<string>
|
||||
{
|
||||
public RedisReadConfig()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// 设备名
|
||||
/// </summary>
|
||||
public string? dev_name { get; set; }
|
||||
/// <summary>
|
||||
/// 标签名
|
||||
/// </summary>
|
||||
public string? tag_name { get; set; }
|
||||
/// <summary>
|
||||
/// 事件类型1注塑装箱2挤出装箱3限位
|
||||
/// </summary>
|
||||
public int event_type { get; set; }
|
||||
/// <summary>
|
||||
/// 数据类型1bool2int
|
||||
/// </summary>
|
||||
public int data_type { get; set; }
|
||||
/// <summary>
|
||||
/// 判断类型1相等2包含
|
||||
/// </summary>
|
||||
|
||||
public int check_type { get; set; }
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public string? data { get; set; }
|
||||
/// <summary>
|
||||
/// 启用
|
||||
/// </summary>
|
||||
public int enabled { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user