Gurux.DLMS.GXDLMSLNParameters.GXDLMSLNParameters C# (CSharp) Method

GXDLMSLNParameters() public method

Constructor.
public GXDLMSLNParameters ( GXDLMSSettings forSettings, Command forCommand, byte forCommandType, GXByteBuffer forAttributeDescriptor, GXByteBuffer forData, byte forStatus ) : System
forSettings GXDLMSSettings DLMS settings.
forCommand Command Command.
forCommandType byte Command type.
forAttributeDescriptor GXByteBuffer Attribute descriptor,
forData GXByteBuffer Data,
forStatus byte
return System
        public GXDLMSLNParameters(GXDLMSSettings forSettings, Command forCommand, byte forCommandType,
           GXByteBuffer forAttributeDescriptor, GXByteBuffer forData, byte forStatus)
        {
            settings = forSettings;
            blockIndex = settings.BlockIndex;
            command = forCommand;
            requestType = forCommandType;
            attributeDescriptor = forAttributeDescriptor;
            data = forData;
            time = null;
            status = forStatus;
            multipleBlocks = forSettings.Count != 0;
            lastBlock = forSettings.Count == forSettings.Index;            
        }
    }
GXDLMSLNParameters