3 Character Code Symbol List

23 views
Skip to first unread message

Chris Byrd

unread,
Aug 9, 2026, 11:40:56 AM (13 days ago) Aug 9
to Open Source CAD
Can someone point me to a list of the 3 character codes.     

Thanks
Chris

mike

unread,
Aug 9, 2026, 12:25:59 PM (13 days ago) Aug 9
to open-so...@googlegroups.com
Dear Chris,

Could you please clarify your request regarding the 3-character code symbol list? Specifically, are you referring to a list within TicketsCAD, or are you seeking an external resource?

Best regards,

Ronald Jones

Sent from my iPhone

--
You received this message because you are subscribed to the Google Groups "Open Source CAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-source-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/a7558aa5-5638-4ba9-a7b9-3bea096b9123n%40googlegroups.com.

Chris Byrd

unread,
Aug 9, 2026, 3:39:39 PM (13 days ago) Aug 9
to Open Source CAD
Just for TicketsCad for the icons on units, etc
Chris

Arnie Shore

unread,
Aug 9, 2026, 4:21:35 PM (13 days ago) Aug 9
to open-so...@googlegroups.com
Chris, this is completely user-specified, and for what makes sense for your operation.  Like 'M01' might specify the first medical unit, or "F03' the third fire unit.

There's nothing pre-specified in it.

Eric Osterberg

unread,
Aug 9, 2026, 9:34:47 PM (12 days ago) Aug 9
to Open Source CAD

Ronald Jones

unread,
Aug 10, 2026, 9:19:11 AM (12 days ago) Aug 10
to Open Source CAD
Chris — I think part of why this is hard to answer is that there are three
different things in TicketsCAD that look like "a 3 character code", and the
replies so far have each been about a different one. Two of them are yours to
invent, one is fixed in the software. Sorted by which is which:

1. UNIT IDENTIFIERS -- yours (Arnie's answer)

M01, F03, E2, 7152. The unit's Name / Handle / Callsign fields. Entirely
user-specified, and there is no shipped list because TicketsCAD doesn't ship
any units. If you're seeing these on the map or in the units list, they're
whatever your install was set up with.

2. UNIT STATUS CODES -- also yours, and this is my guess at what you're
   actually looking at

These are the un_status rows: the short label shown on a unit's status chip.
On your install (from the query you posted on issue #48) those include P-1
through P-5, TRP, Code Brown, Staged, Special Detail and so on.

I checked whether any of those ship with TicketsCAD, because if they did there
would be a documented meaning. They don't -- I grepped the base schema, every
migration and the whole source tree for "P-1" and "TRP" and got nothing. What
TicketsCAD actually seeds is three rows and only three:

    available     Available
    unavailable   Unavailable
    in_service    In service

So everything beyond those three on your install came from whoever configured
it, or from a legacy v3 import. P-1..P-5 in particular look like a priority
scheme somebody local defined. If nobody there knows what they mean, they can
be renamed or deleted in Settings > Unit Statuses without breaking anything --
they're data, not software.

3. COMMAND BAR SHORTHAND -- this one IS fixed in the software

This is what Eric was pointing at, and it's the only one with an actual list,
so here it is. From assets/js/command-bar.js, used as /s <unit> <code>:

    av                     Available
    unav                   Unavailable
    busy                   Busy
    disp, dp               Dispatched
    en, enr                Enroute
    resp                   Responding
    os                     On Scene  (also matches "At Scene")
    tx                     Transporting
    af                     At Facility
    iq                     In Quarters
    oos                    Out of Service

Longer spellings work too (enroute, transporting, on-scene, and so on) -- 30
aliases in total. Note these are aliases the command bar understands, not
statuses that exist: /s only works if your un_status table actually has a
status it can match. That's exactly what bit you in #44 with "At Scene", which
is why 'os' now tries both spellings.

AND A FOURTH ONE, which nobody has mentioned and which you are currently
hitting

Separate from the status VALUE is the status GROUP -- the un_status.group
column. TicketsCAD seeds these as av / unav / inserv, and unlike the labels
above these are NOT cosmetic: they're what the Available / In service /
Unavailable filter buttons on the Units page classify by.

Your groups are named "1-Unit Status" and "2-Call", which is a perfectly
reasonable naming scheme, and it's the cause of the filter behaviour in issue
#48 -- "1-Unit Status" normalizes to "unitstatus", which begins "un", so
everything in that group gets read as Unavailable, including Available itself.

So: the codes on your unit icons are almost certainly your own, the command bar
codes are the list above, and the group codes are the ones that actually change
how the software behaves.

Ron
Reply all
Reply to author
Forward
0 new messages