There is a code: http://www.codeproject.com/Articles/49548/Industrial-NET-PID-Controllers .
To access the parameters, use delegates:
namespace PIDLibrary { public delegate double GetDouble(); public delegate void SetDouble(double value); } The initial values of the parameters are passed through the constructor:
public PID(double pG, double iG, double dG, double pMax, double pMin, double oMax, double oMin, GetDouble pvFunc, GetDouble spFunc, SetDouble outFunc) What is necessary to pass in the arguments of the constructor in place of the question marks?
PID pid = new PID(double, double, double, double..., ?, ?, ?);