00001 00009 #ifndef _multizone_H 00010 #define _multizone_H 00011 00012 #include <stdarg.h> 00013 #include "gridlabd.h" 00014 00015 class multizone { 00016 private: 00017 /* TODO: put private variables here */ 00018 protected: 00019 /* TODO: put unpublished but inherited variables */ 00020 public: 00021 object from; 00022 object to; 00023 double ua; 00024 public: 00025 /* required implementations */ 00026 multizone(MODULE *module); 00027 int create(void); 00028 int init(OBJECT *parent); 00029 TIMESTAMP presync(TIMESTAMP t0, TIMESTAMP t1); 00030 TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1); 00031 TIMESTAMP postsync(TIMESTAMP t0, TIMESTAMP t1); 00032 public: 00033 static CLASS *oclass; 00034 static multizone *defaults; 00035 #ifdef OPTIONAL 00036 static CLASS *pclass; 00037 TIMESTAMP plc(TIMESTAMP t0, TIMESTAMP t1); 00038 #endif 00039 }; 00040 00041 #endif 00042