27 lines
551 B
C#
27 lines
551 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Runtime.InteropServices;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
namespace RCUHost.Protocols
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 上传RCU软件当前版本号 RCU -> 服务器
|
|||
|
|
/// </summary>
|
|||
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|||
|
|
public struct UploadCurrentVersionPacketReply
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 版本号
|
|||
|
|
/// </summary>
|
|||
|
|
[MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 17)]
|
|||
|
|
public string Version;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// CRC16
|
|||
|
|
/// </summary>
|
|||
|
|
public ushort CRC;
|
|||
|
|
}
|
|||
|
|
}
|