Module installation
Lookup SBN installation information
Functions
- Installation.lookup (s_ins, deal_id)
-
Lookup an installation using sins and dealid
Parameters:
- s_ins integer Internal installation number
- deal_id string Attached dealer id
Returns:
-
table | nil result Installation if it was available
- Installation.lookupByCID (cid)
-
Lookup an installation by CID (panel identifier)
Parameters:
- cid string A CID on the installation
Returns:
-
table | nil result Installation if it was available
- Installation.isInTest (installation)
-
Determine if an installation is currently in test mode
Parameters:
- installation table | nil The installation
Returns:
-
boolean result Whether the installation is in test
- Installation.isCIDinTest (cid)
-
Determine if a CID (panel identifier) is in test
Parameters:
- cid string The CID to check
Returns:
-
boolean result whether the CID is in test