Files
XplorePlane/XP.Hardware.RaySource.Comet.Messages/Commands/InitializeCommand.cs
T

36 lines
844 B
C#

namespace XP.Hardware.RaySource.Comet.Messages.Commands
{
/// <summary>
/// 初始化命令,包含 PVI 连接参数
/// </summary>
public class InitializeCommand : RaySourceCommand
{
public override string CommandType => "Initialize";
/// <summary>
/// PLC IP 地址
/// </summary>
public string IpAddress { get; set; }
/// <summary>
/// PLC 端口号
/// </summary>
public int Port { get; set; }
/// <summary>
/// CPU 名称
/// </summary>
public string CpuName { get; set; }
/// <summary>
/// 源端口号
/// </summary>
public int SourcePort { get; set; }
/// <summary>
/// 源站号
/// </summary>
public int StationNumber { get; set; }
}
}