|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
namespace CommService
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
*类名称:struNodeOfTree
|
|
|
|
|
*创建人:韩荣伟
|
|
|
|
|
*创建时间:2010-10-30
|
|
|
|
|
*功能描述:用于记录集中器相关仪表信息
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
class struNodeOfTree
|
|
|
|
|
{
|
|
|
|
|
public string sTID;
|
|
|
|
|
public Hashtable htMeters;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace RemoteObjects
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
*类名称:ReqHandler
|
|
|
|
|
*创建人:韩荣伟
|
|
|
|
|
*创建时间:2010-10-30
|
|
|
|
|
*功能描述:Remoting接口函数类,定义接口函数,无内容实现
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public class ReqHandler : System.MarshalByRefObject
|
|
|
|
|
{
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetTime(string sTName)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetAutoSendInterval(string sTName, int nMnts)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetHeartBeatInterval(string sTName, int nMnts)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetTime(string sTName, ref string sTime)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetAutoSendInterval(string sTName, ref string sInterval)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetHeartBeatInterval(string sTName, ref string sInterval)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetIPPort(string sTName, string sIP, int nPort)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetServerIPPort(string sTName, string sIP, int nPort)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetInfo(string sTName, ref string sInfo)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetTerminalList(ref Hashtable htTerminal)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetData(string sTName,string sMID, List<uint> lstParams, ref Hashtable htRes)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetTerminalName(string sTName, string sNewName)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetMeterAddr(string sTName, ref byte [] arrAddr)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetMeterAddr(string sTName, ref byte[] arrAddr)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetMeterAble(string sTName, ref byte[] arrAddr)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetMeterAble(string sTName, ref byte[] arrAddr)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetStreamThreshold(string sTName, string sMID,ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetStreamThreshold(string sTName, string sMID, ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetElectricThreshold(string sTName, string sMID, ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetElectricThreshold(string sTName, string sMID, ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetTempHumiThreshold(string sTName, string sMID, ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetTempHumiThreshold(string sTName, string sMID, ref string[] arrThreshold)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool GetElecPTCT(string sTName, string sMID, ref string[] arrParam)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetElecPTCT(string sTName, string sMID, ref string[] arrParam)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//定义接口函数,无内容实现
|
|
|
|
|
public bool SetSteamFailInterval(string sTName, int nMnts)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|