mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
Show cloud connection flow message when adding local network device
This commit is contained in:
parent
d280252437
commit
52a5a43fe2
4 changed files with 66 additions and 152 deletions
|
@ -0,0 +1,17 @@
|
|||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
from ..BaseModel import BaseModel
|
||||
|
||||
|
||||
## Class representing the system status of a printer.
|
||||
class PrinterSystemStatus(BaseModel):
|
||||
|
||||
def __init__(self, guid: str, firmware: str, hostname: str, name: str, platform: str, variant: str, **kwargs
|
||||
) -> None:
|
||||
self.guid = guid
|
||||
self.firmware = firmware
|
||||
self.hostname = hostname
|
||||
self.name = name
|
||||
self.platform = platform
|
||||
self.variant = variant
|
||||
super().__init__(**kwargs)
|
Loading…
Add table
Add a link
Reference in a new issue