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