For example, if a user is simply playing on the internet, the user can lower the speed of the fan. This means the user is able to adjust the fan speed to meet the needs of the user for each project the user is working on in order to optimize the performance. The Reset() method is called when the control is disabled and should return back to its default state.NoteBook Fan Contol is a software that allows the user to control the fan speed within the user's computer. The Set( val ) method should activate your control and apply the value to it. IPluginControlSensor (inherits IPluginSensor)Ī control sensor controls sets a value to a fan ( or whatever else ) from a fan curve. Update the value of your sensor in that method from whatever source you are using. The Update method is called internally by the FanControl backend every update cycle, which right now is 1 Hz. Use this method if you want a single hook to update all your sensors from a single method instead of updating from every sensor. New implementation that inherits IPlugin and adds IPluginLogger: Let you write in the error log file. IPluginDialog: Let you invoke a message dialog to the user.You may (optional) inject the following in your plugin's constructor: The load method gets passed a "container" object which contains different lists for your sensors to be added. These methods should be able to be called in this order any number of times without any side-effect or undisposed resources. The life-cycle of the plugin is as follow: You must implement the interface with the following members: At startup, it will find IPlugins implementations by reflection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |