HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.model

Class s7sdk.model.ModifierConstraint

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.model.ModifierConstraint(constraint, type)
Method Summary
Method Attributes Method Name and Description
<static>  
s7sdk.model.ModifierConstraint.checkRangeSets(rangeSets, modifier)
Returns true if any of the specified range sets trigger a match given the current modifier value.
<static>  
s7sdk.model.ModifierConstraint.getRangeSets(ranges)
'ranges' can be specified in descriptor object as a single parameter set array, or an array of parameter set arrays.
 
verify(modifier)
Returns a boolean that is true if the constraint has been triggered
Class Detail
s7sdk.model.ModifierConstraint(constraint, type)
Parameters:
constraint
type
Method Detail
<static> s7sdk.model.ModifierConstraint.checkRangeSets(rangeSets, modifier)
Returns true if any of the specified range sets trigger a match given the current modifier value. If they match, the condition has been fufilled.
Parameters:
rangeSets
modifier

<static> s7sdk.model.ModifierConstraint.getRangeSets(ranges)
'ranges' can be specified in descriptor object as a single parameter set array, or an array of parameter set arrays. This helper function takes all ranges inputs and returns them as an array of arrays.
Parameters:
ranges

verify(modifier)
Returns a boolean that is true if the constraint has been triggered
Parameters:
modifier

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:12 GMT-0000 (UTC)