Files
sy_hx_pbl_backend/DOAN.Model/PBL/PlcAddress.cs
2025-01-16 10:14:06 +08:00

94 lines
1.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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_address_table")]
public class PlcAddressTable
{
/// <summary>
///
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int Id { get; set; }
/// <summary>
/// 料架层fk_id
/// </summary>
[SugarColumn(ColumnName = "fk_storage_id")]
public int FkStorageId { get; set; }
/// <summary>
/// 料架号
/// </summary>
[SugarColumn(ColumnName = "rock_code")]
public string RockCode { get; set; }
/// <summary>
/// 层号
/// </summary>
[SugarColumn(ColumnName = "layer")]
public int Layer { get; set; }
/// <summary>
/// 方向 左/右
/// </summary>
[SugarColumn(ColumnName = "direction")]
public string Direction { get; set; }
/// <summary>
/// 序号123其中合并料架为123456
/// </summary>
[SugarColumn(ColumnName = "index")]
public int Index { get; set; }
/// <summary>
/// plc地址
/// </summary>
[SugarColumn(ColumnName = "plc_address")]
public string PlcAddress { get; set; }
/// <summary>
/// plc地址 (第几字节)
/// </summary>
[SugarColumn(ColumnName = "byte_num")]
public int ByteNum { get; set; }
/// <summary>
/// plc地址 (第几位)
/// </summary>
[SugarColumn(ColumnName = "bit_num")]
public int BitNum { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
}
}