将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。

This commit is contained in:
QI Mingxuan
2026-04-16 17:31:13 +08:00
parent 6ec4c3ddaa
commit 2bd6e566c3
581 changed files with 74600 additions and 222 deletions
@@ -0,0 +1,35 @@
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; }
}
}