diff --git a/apax-lock.json b/apax-lock.json index ab76501..35fb180 100644 --- a/apax-lock.json +++ b/apax-lock.json @@ -7,7 +7,7 @@ "name": "@simatic-ax/generators", "version": "0.0.0-placeholder", "dependencies": { - "@simatic-ax/io": "^10.0.1", + "@simatic-ax/io": "^11.0.0", "@ax/system-timer": "^10.2.7" }, "devDependencies": { @@ -778,9 +778,9 @@ }, "@simatic-ax/io": { "name": "@simatic-ax/io", - "version": "10.0.1", - "integrity": "sha512-by9/1chsUqPIjPGKt9xk2WqJe1WhzBlerIqoxY4R+NwcgKE3QXxi1SiqXLRYCrB1TE427j992VGJukZIH9WS3Q==", - "resolved": "https://npm.pkg.github.com/download/@simatic-ax/io/10.0.1/9c4b3c262176c6374949c37dd764341aa196adf0", + "version": "11.0.0", + "integrity": "sha512-S4yuFXXIEfv9QIbFS6JWDBCA+VMkZ/v2WorLDAaWzCtjL6pNDqvZClqkJ7ssXIA3Tntbe0PWPZOgChHJObyTYw==", + "resolved": "https://npm.pkg.github.com/download/@simatic-ax/io/11.0.0/a6376e04d2d39c555f1a546f0b513aaacf924f3d", "dependencies": { "@ax/system-math": "^10.2.7", "@ax/system-timer": "^10.2.7" diff --git a/apax.yml b/apax.yml index ed6bde7..bcdd5e0 100644 --- a/apax.yml +++ b/apax.yml @@ -33,7 +33,7 @@ devDependencies: "@simatic-ax/snippetscollection": ^1.1.0 "@ax/axunit-mocking": ^9.0.0 dependencies: - "@simatic-ax/io": ^10.0.1 + "@simatic-ax/io": ^11.0.0 "@ax/system-timer": ^10.2.7 # Files which 'apax pack' will include files: diff --git a/changelog.md b/changelog.md index 78181e9..5726984 100644 --- a/changelog.md +++ b/changelog.md @@ -1,13 +1,19 @@ # Changelog -## 2022-06-21 +## [Unreleased] -Version 0.0.1 +### Changed -- First Version +- Rename `ItfBinSignal` to `IBinSignal` to align with @simatic-ax/io v11 breaking change -## 2022-06-22 +## [0.0.3] - 2022-06-22 -Version 0.0.3 +### Added - Add docu link to PulseGenerator + +## [0.0.1] - 2022-06-21 + +### Added + +- First Version diff --git a/src/PulseGenerator.st b/src/PulseGenerator.st index d9915e9..75cae3e 100644 --- a/src/PulseGenerator.st +++ b/src/PulseGenerator.st @@ -5,7 +5,7 @@ NAMESPACE Simatic.Ax.Generators {axcode:docs-v0:@simatic-ax/generators:PulseGenerator.md} CLASS PulseGenerator - IMPLEMENTS ItfBinSignal + IMPLEMENTS IBinSignal VAR PUBLIC PulseTime : LTIME := T#1s; // Pulse duration PauseTime : LTIME := T#1s; // Pause duration ( PulseTime + PauseTime = Period ) diff --git a/test/OnDelayMockWithTwoTimers.st b/test/OnDelayMockWithTwoTimers.st index 77b17fe..1e026fb 100644 --- a/test/OnDelayMockWithTwoTimers.st +++ b/test/OnDelayMockWithTwoTimers.st @@ -16,18 +16,6 @@ NAMESPACE Simatic.Ax.Mocks elapsedTime: LTIME; END_VAR - VAR PRIVATE - risingEdge: BOOL; - previousSignal: BOOL; - startTime: LTIME; - currentDuration: LTIME; - END_VAR - - VAR INTERNAL - reset: BOOL := FALSE; - preset: BOOL := FALSE; - presetDuration: LTIME := LT#0ns; - END_VAR VAR_TEMP state : REF_TO OnDelayMockState; END_VAR