renamed Function to ModbusRegisterType