TimeOfDayAssertions32Bit
Short summary
This class provides assert statements for 32 bit time of day TOD.
It implements the interface I32BitTodAssertions
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | No | No | AbstractAssertion | I32BitTodAssertions |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
Methods
valueIsEqualTo
- Parameters:
currentValue(TOD): current value to checkexpectedValue(TOD): expected value to comparemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is equal to the expected value…
valueIsGreaterThan
- Parameters:
currentValue(TOD): current value to checklessValue(TOD): less than lower limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than the less value…
valueIsInRangeOf
- Parameters:
lowerLimit(TOD): lower limit for the current valuecurrentValue(TOD): current value to checkupperLimit(TOD): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is inside a limit…
valueIsLessThan
- Parameters:
currentValue(TOD): current value to checkgreaterValue(TOD): greater than upper limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is less than the greater value…
valueIsMax
- Parameters:
currentValue(TOD): current value to checkmaximumValue(TOD): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is less than or equal to the maximum value…
valueIsMin
- Parameters:
currentValue(TOD): current value to checkminimumValue(TOD): lower limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than or equal to the minimum value…
valueIsNotEqualTo
- Parameters:
currentValue(TOD): current value to checkunexpectedValue(TOD): unexpected value to comparemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is not equal to the unexpected value…
Code
Declaration
{attribute 'reflection'}
FUNCTION_BLOCK INTERNAL TimeOfDayAssertions32Bit EXTENDS AbstractAssertion IMPLEMENTS I32BitTodAssertions
VAR
END_VAR