script language to change lighting schedule

4 posts / 0 new
Last post

Hi,

I'd like to know how to define lighting schedule using "user-defined default expression"? For instance, I'd like to change lighting schedule for all apartments to "LT_APT", what's the exact script I should use? I've tried something like:
Switch(#L("C-ACTIVITY-DESC"))
Case "APT": "LIGHTING-SCHEDUL"="LT_APT"
Endswitch

But I'm sure there are some errors in my script, especially the underlined portion...Thanks!

Wang, Liao's picture
Offline
Joined: 2015-03-27
Reputation: 0