Tag模型
This commit is contained in:
53
CapMachine.Model/PLCParsModel/PlcParsDataQuick.cs
Normal file
53
CapMachine.Model/PLCParsModel/PlcParsDataQuick.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model.PLCParsModel
|
||||
{
|
||||
public class PlcParsDataQuick
|
||||
{
|
||||
public PlcParsDataQuick()
|
||||
{
|
||||
Steps = new List<PlcMeterStepCellQuick>();
|
||||
Unit = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Model 名称/英文名称
|
||||
/// </summary>
|
||||
public string? EnName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分辨率
|
||||
/// </summary>
|
||||
public int? Ratio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤集合信息
|
||||
/// </summary>
|
||||
public List<PlcMeterStepCellQuick> Steps { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 值首地址
|
||||
/// </summary>
|
||||
public int ValueStartAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步长
|
||||
/// </summary>
|
||||
public int Step { get; set; } = 100;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user