-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* this is to allight with the work on templates * fixes tests after refactoring * CRUD operations now can succed in the same context cycle * if persistent data not exist on Read in DB -> create it * persistent exchange view * simple docu * spelling * Refactor AxoRemoteTask to handle exceptions and restore task state * Refactor AxoTask to handle exceptions and restore task state - Added a new private variable `_suspendExecuteCallAnalisis` to the `AxoTask` class - Implemented the `SuspendExecuteAnalisis` method to set the flag for suspending execute call analysis - Modified the `CyclicExecute` method to check the `_suspendExecuteCallAnalisis` flag before activating an error message * Add Rtm mechanism to measure time at runtime. - Provides indipendent mechanism from rtc to provide accurate time measurement for timers - Multiple refactoring required to make rtm accessible from application context. * Refactor test classes to use Dummies.MockAxoContext for better test isolation * Add system-timer dependency for runtime measurement in Rtm --------- Co-authored-by: TK <61820360+TomKovac@users.noreply.github.com> Co-authored-by: blazej.kuhajda <blazej.kuhajda@mts.sk>
- Loading branch information
1 parent
67485c7
commit cad9f11
Showing
68 changed files
with
1,073 additions
and
1,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
USING AXOpen.Rtc; | ||
USING AXOpen.Rtm; | ||
USING AXOpen.Logging; | ||
|
||
NAMESPACE AXOpen.Core | ||
INTERFACE PUBLIC IAxoContext | ||
METHOD CreateIdentity : ULINT END_METHOD | ||
METHOD OpenCycleCount : ULINT END_METHOD | ||
METHOD GetRtc : IAxoRtc END_METHOD | ||
METHOD InjectRtc VAR_INPUT Rtc : IAxoRtc; END_VAR END_METHOD | ||
METHOD GetLogger : IAxoLogger END_METHOD | ||
METHOD InjectLogger VAR_INPUT _logger : IAxoLogger; END_VAR END_METHOD | ||
METHOD InjectLogger VAR_INPUT _logger : IAxoLogger; END_VAR END_METHOD | ||
METHOD InjectRtm VAR_INPUT Rtm : IAxoRtm; END_VAR END_METHOD | ||
METHOD GetRtm : IAxoRtm END_METHOD | ||
END_INTERFACE | ||
END_NAMESPACE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NAMESPACE AXOpen.Rtm | ||
INTERFACE PUBLIC IAxoRtm | ||
METHOD Elapsed : LTIME END_METHOD | ||
END_INTERFACE | ||
END_NAMESPACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.