I am considering to write a new measure after reading through the Measure Writing Guide.
My measure is to create a compact schedule (my_schedule) for the stuck outdoor air damper. I want to implement this idea through creating a new schedule and then assign the new schedule automatically, together with the stuck percentage (say, 80%), from user input, to whatever the air flow specified. Thus the final outside air flow is: my_schedule*stuck_percentage*specified_airflow. My compact schedule is: 1 from 9am to 5pm, 0 from 5pm to 9am, all year around.
I read through the SDK document about the functions (methods), related to the Schedule, and get a path of schedule objects: WorkspaceObject-->ModelObject-->ParentObject-->ResourceObject-->ScheduleBase-->Schedule-->ScheduleCompact.
My real question: which method/function of the above objects to be used for new compact schedule? Are the object path reasonable? How to read the SDK document for desired methods? I am a newbie to this field.
Any good suggestions or help are really appreciated.