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