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.

162 lines
4.8 KiB
C#

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;
}
}
}