|
|
Line 2: |
Line 2: |
| | | |
| <shl> | | <shl> |
− |
| |
− |
| |
− | /**
| |
− |
| |
− | Copyright (C) 2009, 2021 Netroda Technologies,
| |
− | Licensed under the terms and conditions of the N.P.A.L. license.
| |
− | -------------------------------------------------------------------------
| |
− | Registers <*ESComplexAsset>
| |
− | ESCompAreaClimateControl
| |
− | ESCompDimmableDichromaticDaylightLEDLamp
| |
− | ESCompDimmableMonochromeLEDLamp
| |
− | ESCompDimmableTrichromaticRGBLEDLamp
| |
− | ESCompFanUnit
| |
− | ESCompLEDEffectLight
| |
− | ESCompMonochromeLEDLamp
| |
− | ESCompMotorizedWindowShutterPersistency
| |
− | ESCompSolenoidDoorlock
| |
− | ESCompTrioxygenSanitizerUnit
| |
− | -------------------------------------------------------------------------
| |
− | Class Env:
| |
− | CTSA
| |
− | registerComplexAsset(
| |
− | String : id,
| |
− | Class : classEnum,
| |
− | String : title,
| |
− | String : description,
| |
− | String : vendor,
| |
− | <? of CTSADeviceVoltage> : voltage,
| |
− | CTSASetupPrimitiveDeviceBinding[] : bindings,
| |
− | <? of CTSAIndicator>[] : indicators,
| |
− | CTSAAssociatedMalfunction[] : malfunctions
| |
− | )
| |
− |
| |
− | Lambda Context
| |
− | CTSASetupPrimitiveDeviceBinding
| |
− | <*CTSADeviceVoltage>
| |
− | CTSADeviceVoltageAC
| |
− | CTSADeviceVoltageDC
| |
− | <*CTSAIndicator>
| |
− | CTSAPowerOnIndicator_Bool
| |
− | CTSAPowerOffIndicator_Bool
| |
− | CTSAPowerDecreaseIndicator_Bool
| |
− | CTSAPowerIncreaseIndicator_Bool
| |
− | CTSAAssociatedMalfunction
| |
− | CTSASetupRunTask
| |
− | **/
| |
− |
| |
− |
| |
| CTSA.registerComplexAsset( | | CTSA.registerComplexAsset( |
| "0000P09B0E904", | | "0000P09B0E904", |
Revision as of 04:23, 27 December 2022
Test
CTSA.registerComplexAsset(
"0000P09B0E904",
CTSADeviceClasses.ESCompDimmableMonochromeLEDLamp,
"Garden Lights, Outside Area",
"LED Flood Lights",
"TAZHWG",
new Lambda.CTSADeviceVoltageDC(12),
[
new Lambda.CTSASetupPrimitiveDeviceBinding("led0","ASES_0CA847554EA")
],
[],
[],
new (function() extends Lambda.CTSASetupRunTask(){
public function run(self){
// run task when setup has finished
debug("Finalizing ESCompDimmableMonochromeLEDLamp 0000P09B0E904...");
}
})()
);