You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
|
|
namespace CompressorXN_Model.ViewModel.Plc
|
|
{
|
|
/// <summary>
|
|
/// 设备信息
|
|
/// </summary>
|
|
public class DeviceInfo
|
|
{
|
|
/// <summary>
|
|
/// 通信组集合
|
|
/// </summary>
|
|
public List<CommGroup> CommGroupList { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 通信组
|
|
/// </summary>
|
|
public class CommGroup
|
|
{
|
|
/// <summary>
|
|
/// 通信组名称
|
|
/// </summary>
|
|
[DisplayName("通信组名称")]
|
|
public string GroupName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 起始地址
|
|
/// </summary>
|
|
[DisplayName("起始地址")]
|
|
public string StartAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 读取长度
|
|
/// </summary>
|
|
[DisplayName("读取长度")]
|
|
public int ReadLen { get; set; }
|
|
|
|
/// <summary>
|
|
/// 变量集合
|
|
/// </summary>
|
|
public List<Variable> VariableList { get; set; }
|
|
}
|
|
}
|