C++ OPC data read programs written according to needs to be written to the database can store historical data and real-time data updates, when using a configuration file, configuration of OPC data sources and data needs to read labels, database table names and columns can be automatically generated