mirror of
https://github.com/BluemediaGER/ScanOS.git
synced 2024-11-12 21:05:28 +01:00
26 lines
516 B
Python
26 lines
516 B
Python
from enum import Enum
|
|
|
|
class Status(Enum):
|
|
INITIALIZED = "initialized"
|
|
IDLE = "idle"
|
|
RUNNING = "running"
|
|
DONE = "done"
|
|
ERR_NO_PAPER = "err_no_paper"
|
|
ERR_COVER_OPEN = "err_cover_open"
|
|
|
|
class PageStatus(Enum):
|
|
PROCESSING = "processing"
|
|
DONE = "done"
|
|
|
|
class Setting(Enum):
|
|
PAPER_SOURCE = "source"
|
|
COLOR_MODE = "color"
|
|
RESOLUTION = "resolution"
|
|
PAPER_SIZE = "paper_size"
|
|
|
|
class PaperSize(Enum):
|
|
A3 = "a3"
|
|
B3 = "b3"
|
|
A4 = "a4"
|
|
B4 = "b4"
|
|
LETTER = "letter" |