public TagType EvalTagType()
{
TagType type = TagType.UNKNOWN;
string id = epcID.ToString().Substring(0, 2);
switch (id)
{
case "0B":
case "0D":
type = TagType.WISP_ACCELEROMETER;
break;
case "12":
type = TagType.WISP_DIGITAL_ACCEL;
break;
case "0F":
case "0E":
type = TagType.WISP_TEMPERATURE;
break;
case "AA":
type = TagType.WISP_SOC;
break;
default:
type = TagType.UNKNOWN;
break;
}
return type;
}