Including the Scheduling Library in an Application

<< Click to Display Table of Contents >>

 

Including the Scheduling Library in an Application

To include the Scheduling Library in an existing Elipse E3, Elipse Power, or Elipse Water application, follow these steps:

1.Copy the Scheduling folder from the Scheduling Library to the folder of the application's Domain.

2.In Studio, open the next files, including them on the active Domain.

Scheduling\Projects\Scheduling.prj

Scheduling\Projects\SchedulingLibCheck.prj

Scheduling\Projects\PlantModelStructuredData.prj

Scheduling\Libraries\scheduling.lib

Scheduling\Libraries\CustomInterface.lib

 

NOTES

To use the structure of Elipse Power or Elipse Water, add the files Scheduling\Projects\PowerStructuredData.prj or Scheduling\Projects\WaterStructuredData.prj, respectively.

Check if the library package PlantModel from HighPerformance Template Library is inserted in the Domain. If it is not, the objects from PlantModelStructuredData project are not recognized.

 

3.Open the file hpMain.prj from folder HighPerformance\Projects, but do not include it on the active Domain.

4.Using Organizer in Explorer mode, copy objects hpXML_MenuTreeView and hpXML_SchedulesGroup from folder hpObjects - XML to the hpMain project of the application.

5.Still in Explorer mode, copy folder Viewer - Scheduling to the hpMain project of the application.

 

NOTE

If the application does not use HighPerformance Template Library, the recommendation is using the Viewer object from Scheduling Library, copying the objects from the application's Viewer to Scheduling Library's Viewer.

 

6.To navigate between List and Calendar Screens, change the name of the Frame on the script of hpTabsBar object from both Screens, according to the current application's Frame. The next script contains an example of opening the scrGeralList Screen.

Set openEntity = Application.Item("hpControls").Item("Navigation").Item("OpenEntity")
openEntity.Value = Array("hpFSMain{scrScheduling.scrGeralList?100?0}", "", "", 0, Frame.PathName)

 

NOTE

In the example of the previous script, the value hpFSMain represents the name of the Frame used and must be set according to the Frame used by the application.

Was this page useful?