Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Location.h

Go to the documentation of this file.
00001 #ifndef LOCATION_INCLUDED
00002 #define LOCATION_INCLUDED
00003 
00004 enum PositionType {UNLOAD_POS, FURNACE_POS, BATH_POS, STORAGE_POS, TRANSMISSION_POS};
00005 enum Direction    {LEFT_DIR, RIGHT_DIR, NONE_DIR};
00006 extern char* positionTypeNames[]; // {"Entladeplatz", "Ofen", "Bad", "Speicher", "Abtransport"};
00007 
00008 class Location {
00009 public: 
00010         PositionType myPosType; // UNLOAD_POS, FURNACE_POS, BATH_POS, STORAGE_POS, TRANSMISSION_POS
00011         int posNo;              // furnace: 1..5, bathNo: 1..2, storageNo:0
00012         int cap[10];    
00013 
00014         Direction dir;          // LEFT_DIR, RIGHT_DIR, NONE_DIR
00015 
00016         double real(int posNo);
00017         Location (PositionType pt, int no, Direction d);
00018 };
00019 
00020 #endif
00021 

Generated on Tue Apr 26 14:42:42 2005 for rollingmill by doxygen 1.3.6