修改
This commit is contained in:
48
DOAN.Model/PBL/PlcButton.cs
Normal file
48
DOAN.Model/PBL/PlcButton.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Model.PBL
|
||||
{
|
||||
/// <summary>
|
||||
/// PLC地址
|
||||
/// </summary>
|
||||
[SugarTable("plc_button_table")]
|
||||
public class PlcButton
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 按钮名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 按钮型号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 料架id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "storagelocation_id")]
|
||||
public int StoragelocationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PLC地址
|
||||
/// </summary>
|
||||
public int Address { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PLC地址下标
|
||||
/// </summary>
|
||||
public int Index { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user