37 lines
674 B
C#
37 lines
674 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ExternalDataSync
|
|
{
|
|
public class msgHeader
|
|
{
|
|
/// <summary>
|
|
/// 协议版本,默认1.0
|
|
/// </summary>
|
|
public int version
|
|
{
|
|
get;
|
|
set;
|
|
} = 1;
|
|
/// <summary>
|
|
/// 消息ID
|
|
/// </summary>
|
|
public string taskId
|
|
{
|
|
get;
|
|
set;
|
|
} = "1";
|
|
/// <summary>
|
|
/// 事务号
|
|
/// </summary>
|
|
public string taskType
|
|
{
|
|
get;
|
|
set;
|
|
} = "";
|
|
}
|
|
}
|