You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
896 B
37 lines
896 B
using System.Runtime.Serialization;
|
|
|
|
|
|
namespace SMCenter
|
|
{
|
|
[DataContract]
|
|
public class SMCenterConfig
|
|
{
|
|
/// <summary>
|
|
/// center 的 端口
|
|
/// </summary>
|
|
[DataMember(Order = 0)]
|
|
public int listenPort { get; set; }
|
|
|
|
[DataMember(Order = 1)]
|
|
public string businessname { get; set; }
|
|
|
|
[DataMember(Order = 2)]
|
|
public string centerPush { get; set; }
|
|
|
|
[DataMember(Order = 3)]
|
|
public string centerRecv { get; set; }
|
|
|
|
[DataMember(Order = 4)]
|
|
public string agentRecv { get; set; }
|
|
|
|
// 测试模式, 每次传1字节, 50%丢包率
|
|
[DataMember(Order = 5)]
|
|
public int testMode { get; set; }
|
|
|
|
[DataMember(Order = 6)]
|
|
public int[] excludeAppType { get; set; }
|
|
|
|
[DataMember(Order = 7)]
|
|
public string linuxWorkPath { get; set; }
|
|
}
|
|
}
|
|
|