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