示例#1
0
        void Initialize()
        {
            // Check on error in modbus library
            CheckForModbusError();

            registerInputSigned   = new RegistersInputSigned(this);
            registerInputUnsigned = new RegistersInputUnsigned(this);

            registerRWSigned   = new RegistersRWSigned(this);
            registerRWUnsigned = new RegistersRWUnsigned(this);

            bitsRW    = new BitsRW(this);
            bitsInput = new BitsInput(this);
        }
示例#2
0
        void Initialize()
        {
            // Check on error in modbus library
            CheckForModbusError();

            registerInputSigned = new RegistersInputSigned(this);
            registerInputUnsigned = new RegistersInputUnsigned(this);

            registerRWSigned = new RegistersRWSigned(this);
            registerRWUnsigned = new RegistersRWUnsigned(this);

            bitsRW = new BitsRW(this);
            bitsInput = new BitsInput(this);
        }