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.

19 lines
835 B

using DotNetty.Common.Utilities;
namespace Service.Ups.Common;
public class UpsConst
{
public static readonly AttributeKey<string> UpsSn = AttributeKey<string>.ValueOf("ups_sn");//fire
public static readonly AttributeKey<string> EqmTypeNo = AttributeKey<string>.ValueOf("eqm_type_no");//5
public static readonly AttributeKey<string> EqmCode = AttributeKey<string>.ValueOf("eqm_code");//fire
//public static readonly AttributeKey<string> DestAddr = AttributeKey<string>.ValueOf("dest_addr");//
public static readonly byte[] StartChar = { 0x28 /* ,0xEE*/ };
public static readonly byte[] EndChar = { 0x3E /* ,0xEE*/ };
public static string Ip = "127.0.0.1";
public static int Port = 505;
public static string Sn = "fire";
public static string No = "1";
public static string Code = "5";
}