(self)
| 242 | ##Printer connection |
| 243 | |
| 244 | def getConnection(self): |
| 245 | |
| 246 | pm = printerManager() |
| 247 | |
| 248 | state, port, baudrate = pm.getCurrentConnection() |
| 249 | current = { |
| 250 | "state": state, |
| 251 | "port": port, |
| 252 | "baudrate": baudrate |
| 253 | } |
| 254 | |
| 255 | return { 'current': current, 'option': pm.getConnectionOptions() } |
| 256 | |
| 257 | |
| 258 | ##Temperature |
nothing calls this directly
no test coverage detected