Files
scadaproj/ZB.MOM.WW.SPHistorianClient/src/ZB.MOM.WW.SPHistorianClient/Wcf/Contracts/IRetrievalServiceContract4.cs
T

52 lines
2.0 KiB
C#

using System.ServiceModel;
namespace ZB.MOM.WW.SPHistorianClient.Wcf.Contracts;
[ServiceContract(Name = HistorianWcfServiceNames.Retrieval, Namespace = HistorianWcfServiceNames.Namespace)]
internal interface IRetrievalServiceContract4 : IRetrievalServiceContract3
{
[OperationContract]
bool StartEventQuery(
uint clientHandle,
ushort queryRequestType,
uint requestSize,
[MessageParameter(Name = "pRequestBuff")] byte[] requestBuffer,
out uint responseSize,
[MessageParameter(Name = "pResponseBuff")] out byte[] responseBuffer,
ref uint queryHandle,
[MessageParameter(Name = "errSize")] out uint errorSize,
[MessageParameter(Name = "err")] out byte[] errorBuffer);
[OperationContract]
bool GetNextEventQueryResultBuffer(
uint clientHandle,
uint queryHandle,
out uint resultSize,
[MessageParameter(Name = "pResultBuff")] out byte[] resultBuffer,
[MessageParameter(Name = "errSize")] out uint errorSize,
[MessageParameter(Name = "err")] out byte[] errorBuffer);
[OperationContract]
bool EndEventQuery(
uint clientHandle,
uint queryHandle,
[MessageParameter(Name = "errSize")] out uint errorSize,
[MessageParameter(Name = "err")] out byte[] errorBuffer);
[OperationContract]
bool GetTagidsByTagnameAndSource(string handle, byte[] tagNameIds, out byte[] tagIds, out byte[] errorBuffer);
[OperationContract]
bool GetShardTagidsByTagnameAndSource(
string handle,
byte[] tagNameIds,
[MessageParameter(Name = "shardTagids")] out byte[] shardTagIds,
out byte[] errorBuffer);
[OperationContract(Name = "GetTgByNm2")]
bool GetTagInfosFromName2(string handle, byte[] tagNames, ref uint sequence, out byte[] tagInfos, out byte[] errorBuffer);
[OperationContract(Name = "GetTepByNm")]
bool GetTagExtendedPropertiesFromName(string handle, byte[] tagNames, ref uint sequence, out byte[] tagExtendedProperties, out byte[] errorBuffer);
}