UAMultiStateDiscreteType Class
packages\node-opcua-address-space\src\data_access\address_space_add_MultiStateDiscrete.js:17
        Constructor
UAMultiStateDiscreteType
        
                ()
        
        
        
        
        
        
        
        
            
        
            Item Index
Methods
- add_dataItem_stuff
 - addAnalogDataItem AnalogDataItem DataItems that represent continuously-variable physical quantities ( e.g., length, temperature) , in contrast to the digital representation of data in discrete items NOTE Typical examples are the values provided by temperature sensors or pressure sensors. OPC UA defines a specific UAVariableType to identify an AnalogItem. Properties describe the possible ranges of AnalogItems.
 - addDataItem
 - addMultiStateDiscrete
 - getValueAsString
 
Methods
add_dataItem_stuff
                    
                            - 
                                            
variable - 
                                            
options 
Parameters:
- 
                                            
variableObject - 
                                            
optionsObject- 
                                                        
definition[Optional]
 - 
                                                        
valuePrecision[Optional]
 - 
                                                        
modellingRule[Optional]
 
 - 
                                                        
 
addAnalogDataItem
                    AnalogDataItem DataItems that represent continuously-variable physical quantities ( e.g., length, temperature) , in
                     contrast to the digital representation of data in discrete  items
                     NOTE Typical examples are the values provided by temperature sensors or pressure sensors. OPC UA defines a specific
                     UAVariableType to identify an AnalogItem. Properties describe the possible ranges of  AnalogItems.
                    
                            - 
                                            
options 
Parameters:
- 
                                            
optionsObject- 
                                                        
browseNameString - 
                                                        
definitionString - 
                                                        
[valuePrecision=null]Double | Null optional - 
                                                        
instrumentRange- 
                                                                    
lowDouble - 
                                                                    
highDouble 
 - 
                                                                    
 - 
                                                        
engineeringUnitsRange.lowDouble - 
                                                        
engineeringUnitsRange.highDouble - 
                                                        
engineeringUnitsString - 
                                                        
dataTypeNodeId// todo :check
 - 
                                                        
[accessLevel= "CurrentRead | CurrentWrite"]AccessLevelFlag optional - 
                                                        
[userAccessLevel= "CurrentRead | CurrentWrite"]AccessLevelFlag optional - 
                                                        
value - 
                                                        
[modellingRule]optional 
 - 
                                                        
 
Returns:
Example:
:
namespace.add_analog_dataItem({ componentOf: parentObject, browseName: "TemperatureSensor", definition: "(tempA -25) + tempB", valuePrecision: 0.5, //- instrumentRange: { low: 100 , high: 200}, // optional engineeringUnitsRange: { low: 100 , high: 200}, // mandatory engineeringUnits: standardUnits.degree_celsius,, // optional // access level accessLevel: 1 minimumSamplingInterval: 10, });
addDataItem
                    
                            - 
                                            
options 
Parameters:
- 
                                            
optionsObject- 
                                                        
browseNameString - 
                                                        
definitionString - 
                                                        
[valuePrecision=null]Double | Null optional - 
                                                        
dataTypeNodeId// todo :check
 - 
                                                        
value - 
                                                        
componentOf 
 - 
                                                        
 
Returns:
addMultiStateDiscrete
                    
                            - 
                                            
options 
Parameters:
- 
                                            
optionsObject- 
                                                        
browseNameString - 
                                                        
[nodeId]NodeId optional - 
                                                        
[value= 0]UInt32 optional - 
                                                        
enumStringsStringan array containing the String associated with each enumeration value, starting from 0 onward
 
 - 
                                                        
 
            The NodeOPCUA API