×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

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