using System.Runtime.Serialization; namespace SMCenter { [DataContract] public class SMCenterConfig { /// /// center 的 端口 /// [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; } } }