![]() ![]() 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. Drop your dll into the Plugins folder of FanControl.Implement the interface IPlugin OR IPlugin2.Fan Control supports plugins to inject sensors and controls into the software from external sources. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |