packageConstants

Defining constants for network components

Extends from Icons.Package (Icon for standard packages).

Information

This package enables to express the connection status for any component in a similar way between C++ and Modelica.

Parameters

TypeNameDefaultDescription
RealOpen1 Component disconnected
RealClosed2Component connected
RealClosed13Component connected on side 1
RealClosed24Component connected on side 2
RealClosed35Component connected on side 3
RealUndefined6Component status undefined

Contents

NameDescription
state
realToStateConverts a component connection state from real to enumeration
stateToRealConverts a component connection state from enumeration to real