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.
|
|
|
|
|
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();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|