- Modifications for 'StableTime' (ValveMove, RegulValve, etc.

- SHA1 checksum calculated and displayed in AboutDlg (sample data 'nejaky text')
- Modifications for the Fuzhou300 component
This commit is contained in:
Milan Hanajik
2014-09-05 14:17:12 +02:00
parent 51530bd088
commit 1d098f7893
21 changed files with 337 additions and 220 deletions
@@ -32,7 +32,8 @@ namespace TBF.BenchControl.Elde.RegulValve
public readonly int Position; /// 0..7
public readonly int DacValueClosed; /// 0..1023
public readonly int DacValueOpen; /// 0..1023
public readonly int DacValueOpen; /// 0..1023
public readonly int StableTime; /// 0=200ms, step=50ms, max. 1500ms (max.26)
public RegulValve(RegulValveCfg cfg, IList<Generic.IComponent> components)
{
@@ -45,6 +46,7 @@ namespace TBF.BenchControl.Elde.RegulValve
this.Position = cfg.Position;
this.DacValueClosed = cfg.DacValueClosed;
this.DacValueOpen = cfg.DacValueOpen;
this.StableTime = cfg.StableTime;
this.dict = new Dictionary<float, float>();
this.controlBoard.RegValveCalib[Position - 1, 0] = (uint)DacValueClosed;