Skip to content

Commit e9117cc

Browse files
committed
hal_glib -add status level constants
for convenience, one can reference the status meesage urgency levels. DEFAULT = 0 WARNING = 1 CRITICAL = 2
1 parent 5c7e584 commit e9117cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/python/hal_glib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ class _GStat(GObject.GObject):
232232
, linuxcnc.INTERP_IDLE: 'interp-idle'
233233
}
234234

235+
DEFAULT = 0
236+
WARNING = 1
237+
CRITICAL = 2
238+
235239
TEMPARARY_MESSAGE = 255
236240
OPERATOR_ERROR = linuxcnc.OPERATOR_ERROR
237241
OPERATOR_TEXT = linuxcnc.OPERATOR_TEXT

0 commit comments

Comments
 (0)