Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
src/ConfigurationHandler/Controls/SetpointControl.h
- Committer:
- jmarkel44
- Date:
- 2016-09-08
- Revision:
- 20:653923c2f37a
- Parent:
- 19:9bc8fabeddfa
- Child:
- 28:c410a61238bb
File content as of revision 20:653923c2f37a:
/****************************************************************************** * * File: SetpointControl.h * Desciption: ICE Timer Control Class * *****************************************************************************/ #ifndef SETPOINTCONTROL_H #define SETPOINTCONTROL_H #include <string> using namespace std; class SetpointControl { private: string controlFile; // name of the control file string id; // control identifier string name; // friendly name unsigned int priority; // control priority string input; // control input string output; // control output float productFactor; float highAlert; float highFailsafe; float lowFailsafe; float tol; public: // constructor SetpointControl() {}; ~SetpointControl() { printf("\r%s destructor invoked\n", __func__); } // Load a control from the control file bool Load(string filename); string getControlFile(void) { return controlFile; } void setControLFile(string _controlFile) { controlFile = _controlFile; } }; #endif