Appearance
Home > resol-vbus-core-toolbox-scripts > emSimulator > EmSimulatorService > getRelayInfo
emSimulator.EmSimulatorService.getRelayInfo() method
Get the information about a simulated module relay's state.
Signature:
typescript
getRelayInfo(moduleNr: number, relayNr: number): EmSimulatorRelayInfo | null;
Parameters
Parameter | Type | Description |
---|---|---|
moduleNr | number | The module's number between 1 and 15. |
relayNr | number | The relay's number between 1 and 5. |
EmSimulatorRelayInfo | null
The information about the simulated module relay's state.