00001 // $Id: fuse.h,v 1.9 2008/02/04 23:08:12 natet Exp $ 00002 00003 #ifndef _FUSE_H 00004 #define _FUSE_H 00005 00006 #include "powerflow.h" 00007 #include "relay.h" 00008 00009 class fuse : public relay 00010 { 00011 protected: 00012 TIMESTAMP blow_time; 00013 public: 00014 static CLASS *oclass; 00015 static CLASS *pclass; 00016 static fuse *defaults; 00017 00018 public: 00019 enum {UNKNOWN} time_curve; // equation, current vs time curve 00020 double minimum_current_A; 00021 00022 int create(void); 00023 int init(void); 00024 TIMESTAMP sync(TIMESTAMP t0); 00025 TIMESTAMP postsync(TIMESTAMP t0); 00026 fuse(MODULE *mod); 00027 int isa(char *classname); 00028 }; 00029 00030 #endif // _FUSE_H