| 69 | } |
| 70 | |
| 71 | QString offsetDirToWire(const QString& any) |
| 72 | { |
| 73 | const QString upper = sanitizeText(any).trimmed().toUpper(); |
| 74 | if (upper == "UP") return "up"; |
| 75 | if (upper == "DOWN") return "down"; |
| 76 | if (upper == "SIMPLEX") return "simplex"; |
| 77 | return {}; |
| 78 | } |
| 79 | |
| 80 | QString offsetDirToDisplay(const QString& any) |
| 81 | { |