FoxHoundcn Posted October 23, 2015 Posted October 23, 2015 (edited) My English sucks,I'm very sorry。The following is the result of google translation。 //========================================================== It provides an open plug environment, access to a variety of data to MessageControllor and become MessageControllor modules. MessageController itself provides a data connection between the module, after the data transfer, and data processing functions。 Plugin interface - ControllorPlugin.dll: string ID Used to plug the specified ID, the file name is equivalent to the plug-in is unique. string getName(); Name used in the software UI display can be arbitrarily designated, no special requirements. void Init(); Plugin its initialization function void Updata(); Each loop is executed, it can be used to update the plugin data. function DataCalculation(mIndex, pIndex, value) Lua function plug-in DLL files of the same name, is used to obtain the data format. Lua required plug-in DLL in the same directory with the same name (different suffix). string valueChangeEvent(int mIndex, int pIndex); When the data is modified, and the format through the Calculation function in Lua Data, will trigger this function is executed. bool Open To switch plug, the plug on the corresponding software UI check box. object getProperty(); Plug-in properties when the plug-in is selected, the Properties window displays. List<Module> getModuleList(); List of plug-ins provided by a plug-in can provide multiple modules, each module can have a different interface definition. List<Log> LogList If you need to output Log, only need to be added to LogList information, the software will automatically drawn to the UI. void Dispose(); Function to execute when the software exits. Download MessageControllor: https://drive.google.com/open?id=0B1g3FOgnaU1YMVpxX29kSXVkSkU Plug-in Development Guide: https://drive.google.com/open?id=0B1g3FOgnaU1YUnBQV1dNV0hjVHc Android test app https://drive.google.com/open?id=0B1g3FOgnaU1Ycld1cXV4LWZDZ28 MessageControllor_Instruction manual https://drive.google.com/open?id=0B1g3FOgnaU1YaFhPSmJKeGdDQXM Edited November 5, 2015 by FoxHoundcn
Recommended Posts