You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommService
{
/*
*EMS_COMM_PARAMS
*
*2010-10-30
*ID
*/
struct EMS_COMM_PARAMS
{
//电类型
public const uint AI = 0x8E21;
public const uint BI = 0x8E22;
public const uint CI = 0x8E23;
public const uint AU = 0x8E11;
public const uint BU = 0x8E12;
public const uint CU = 0x8E13;
public const uint GLYS = 0xB650;
public const uint ZXYGZ = 0x9010;
public const uint JF = 0x9011;
public const uint F = 0x9012;
public const uint P = 0x9013;
public const uint G = 0x9014;
public const uint ZXWG = 0x9030;
}
/*
*TEM_COMM_PARAMS
*
*2018-04-16
*湿ID
*/
struct TEM_COMM_PARAMS
{
/// <summary>
/// 温度正值
/// </summary>
public const uint POSMET = 0xB400;
/// <summary>
/// 温度负值
/// </summary>
public const uint NEGMET = 0xB401;
/// <summary>
/// 湿度值
/// </summary>
public const uint MUH = 0xB410;
}
/*
*Common
*
*2010-10-30
*
*/
class Common
{
//public static LogFile logFile = null;
//public static LogFile logSYSFile = null;
public static LogFile logFile = null;
public static LogFile logSystemFile = null;
public static LogFile logDebugFile = null;
public static LogFile logErrFile = null;
public static CommPlatform platForm = new CommPlatform();
public static ConfigReader configReader = new ConfigReader();
}
}