×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

GE interview questions, who can give a best answer?

Design a configuration file reader class that can be used to read values from configuration files for each hardware manager thread. This class is useful because some parameters might need to be changed without recompiling the code, such as the maximum temperature threshold of the chiller, for example. It would be easier to change that value from a configuration file than if it is hard coded in the code.
The design shall include:
-A constructor function that is passed a string with the path to the configuration file.
-A read configuration value function that is given the name of the configuration parameter and shall return the value from the configuration file.
-A standard configuration file structure that can be standard for each hardware manager thread. For example, the file format could contain the parameter name, type and value which are all separated by commas.
Report