00001 #include <map> 00002 #include <string> 00003 using namespace std; 00004 00005 class TmModule; 00006 00007 class TmApvPair { 00008 public: 00009 TmApvPair(int ident,int crate); 00010 ~TmApvPair(); 00011 int red,green,blue; 00012 float value; 00013 string text; 00014 int count; 00015 int idex;//Fed and position in fed 00016 int crate; 00017 TmModule * mod; 00018 int mpos;//ApvPair position in module 00019 int getFedCh(){int res = (int) (idex/1000); return idex - res*1000;} 00020 int getFedId(){int res = (int) (idex/1000); return res;} 00021 };