Map a CoT type string (e.g. "a-f-G-U-C") to its CotType enum value.
Parameters
s: string
The full CoT type string from <event type="…">.
Returns number
The numeric CotType enum value, or COTTYPE_OTHER (0) when
the string is not in the known mapping. On a miss the caller should
preserve the original string in cotTypeStr so it round-trips.
Map a CoT type string (e.g.
"a-f-G-U-C") to itsCotTypeenum value.