Opc.Ua.Com.Server.ComHdaProxy.ReadProcessed C# (CSharp) Method

ReadProcessed() public method

Reads the processed data.
public ReadProcessed ( int transactionId, System.DateTime startTime, System.DateTime endTime, long resampleInterval, int serverHandles, uint aggregateIds, int &cancelId ) : int[]
transactionId int
startTime System.DateTime
endTime System.DateTime
resampleInterval long
serverHandles int
aggregateIds uint
cancelId int
return int[]
        public int[] ReadProcessed(
            int transactionId,
            DateTime startTime,
            DateTime endTime,
            long resampleInterval,
            int[] serverHandles,
            uint[] aggregateIds,
            out int cancelId)
        {
            Session session = ThrowIfNotConnected();

            // create the read requests.
            ReadProcessedDetails details = new ReadProcessedDetails();

            List<HdaReadRequest> requests = CreateReadRequests(
                session,
                startTime,
                endTime,
                resampleInterval,
                serverHandles,
                aggregateIds,
                details);

            // queue the transaction.
            int[] errors = CreateTransaction(
                TransationType.Read,
                transactionId, 
                new ExtensionObject(details),
                requests,
                false,
                out cancelId);

            // return the initial results.
            return errors;
        }
                

Same methods

ComHdaProxy::ReadProcessed ( System.DateTime startTime, System.DateTime endTime, long resampleInterval, int serverHandles, uint aggregateIds ) : List