Skip to content

Commit

Permalink
fix a bug in hmicontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinYellow committed Jun 5, 2018
1 parent cac0189 commit c749865
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 0 deletions.
Binary file modified SCADA/Example/CoreTest.exe
Binary file not shown.
Binary file modified SCADA/Example/HMIControl.dll
Binary file not shown.
Binary file modified SCADA/Program/.vs/DataExchange/v15/.suo
Binary file not shown.
Binary file modified SCADA/Program/.vs/DataExchange/v15/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified SCADA/Program/.vs/DataExchange/v15/sqlite3/storage.ide
Binary file not shown.
5 changes: 5 additions & 0 deletions SCADA/Program/HMIControl/Elevator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ public override Action SetTagReader(string key, Delegate tagChanged)
{
return delegate { RPM = _funcRPM(); };
}
var _funcRPMf = tagChanged as Func<float>;
if (_funcRPMf != null)
{
return delegate { RPM = _funcRPMf(); };
}
else return null;
}
return base.SetTagReader(key, tagChanged);
Expand Down

0 comments on commit c749865

Please sign in to comment.