| 256 | } |
| 257 | |
| 258 | void dataFromJson(json_t* rootJ) override { |
| 259 | json_t* modelJ = json_object_get(rootJ, "model"); |
| 260 | if (modelJ) { |
| 261 | setModel(json_integer_value(modelJ)); |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | int getModel() { |
| 266 | // Use the first channel's Part as the reference model |
nothing calls this directly
no outgoing calls
no test coverage detected