This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

View File

@@ -13,7 +13,7 @@ namespace CapMachine.Model
{
public PlcParsData()
{
//实例化
Steps=new List<PlcMeterStepCell> ();
Unit = "";
}
@@ -64,5 +64,35 @@ namespace CapMachine.Model
/// </summary>
public int? CycleStartAddress { get; set; }
/// <summary>
/// 步长
/// </summary>
public int Step { get; set; } = 100;
/// <summary>
/// 设置类型
/// </summary>
public AddressInfo? SetAddressInfo { get; set; }
}
/// <summary>
/// 地址信息
/// </summary>
public enum AddressInfo
{
/// <summary>
/// 无时间和次数,整个程序段都是恒值
/// </summary>
NoTimeAndCycle=1,
/// <summary>
/// 无次数,也就是代表了没有多个参数列表了,也就没有斜坡的
/// </summary>
NoCycle = 2,
/// <summary>
/// OK
/// </summary>
OK =3,
}
}