getMappingForState(state, incoming): MonitorState[]
get mapping for state and direction
Parameters
state
string
Selected state for mapping, e.g. 20,30,40
incoming
boolean
true if incoming, otherwise false for forwarded
Returns
MonitorState[]