lib/address_space/ua_two_state_variable.js
//                                                  <StateIdentifier> Defined in Clause 5.4.3 Optional
 Defined in Clause 5.4.3 Optional
Defined in Clause 5 . 4 . 3 Optional
function _updateTransitionTime(node) {
    if (node.transitionTime) {
        node.transitionTime.setValueFromSource({dataType: DataType.DateTime, value: (new Date())})
    }
}
function _updateTransitionTime ( node ) { if ( node . transitionTime ) { node . transitionTime . setValueFromSource ( { dataType : DataType . DateTime , value : ( new Date ( ) ) } ) } }
<StateIdentifier> Defined in Clause 5.4.3 Optional
<StateIdentifier > Defined in Clause 5 . 4 . 3 Optional
// TransitionTime specifies the time when the current state was entered.