Gurux.DLMS.GXDLMSSettings.ResetBlockIndex C# (CSharp) Method

ResetBlockIndex() private method

Resets block index to default value.
private ResetBlockIndex ( ) : void
return void
        internal void ResetBlockIndex()
        {
            BlockIndex = StartingBlockIndex;
        }

Usage Example

Esempio n. 1
0
        private static void ReturnSNError(GXDLMSSettings settings, GXDLMSServer server, Command cmd, ErrorCode error, GXByteBuffer replyData)
        {
            GXByteBuffer bb = new GXByteBuffer();

            bb.SetUInt8(error);
            GXDLMS.GetSNPdu(new GXDLMSSNParameters(settings, cmd, 1, (byte)SingleReadResponse.DataAccessError, bb, null), replyData);
            settings.ResetBlockIndex();
        }
All Usage Examples Of Gurux.DLMS.GXDLMSSettings::ResetBlockIndex