00001 00007 #ifndef SENSRPACKET_H 00008 #define SENSRPACKET_H 00009 00010 #include "Packet.h" 00011 00012 class SensrPacket { 00013 public: 00014 enum { 00015 TYPELEN = 1, 00016 VALUELEN = 4, 00017 SENIDLEN = 1, 00018 TOTLEN = TYPELEN + VALUELEN + SENIDLEN + IDLEN + OVERHEAD; 00019 }; 00020 00021 private: 00023 char type; 00025 int value; 00027 int senID; 00028 }; 00029 00030 #endif 00031