From af0b2f9edb20094b40512b95af14638a1e24246e Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Thu, 11 Oct 2018 06:57:19 +0200 Subject: [PATCH] - .NET API: Added missing access functions for ResvTms to ReportControlBlock class (#74) --- .../IEC61850forCSharp/ReportControlBlock.cs | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/dotnet/IEC61850forCSharp/ReportControlBlock.cs b/dotnet/IEC61850forCSharp/ReportControlBlock.cs index 20ee9146..bd901c3f 100644 --- a/dotnet/IEC61850forCSharp/ReportControlBlock.cs +++ b/dotnet/IEC61850forCSharp/ReportControlBlock.cs @@ -711,6 +711,33 @@ namespace IEC61850 flagOptFlds = true; } + + /// + /// Gets the ResvTms (reservation time) value + /// + /// + /// Only for BRCB. + /// Value of -1 indicate the BRCB is exclusively reserved for a set of client based upon configuration. + /// Value of 0 means that the BRCB is not reserved. + /// Positive value indicates that the BRCB is reserved dynamically and the value is the number of + /// seconds for reservation after association loss. + /// + /// The reservation time + public Int16 GetResvTms() + { + return ClientReportControlBlock_getResvTms (self); + } + + /// + /// Sets the ResvTms (reservation time) value + /// + /// the reservation time value + public void SetResvTms(Int16 resvTms) + { + ClientReportControlBlock_setResvTms (self, resvTms); + + flagResvTms = true; + } } }