File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ def status(args):
2626 print ("Model: %s Serial: %s" % (d .desc , d .serial ))
2727 print ("Device type: %s" % (d .device_type ))
2828 reg = d .registers
29+ print ("Firmware version: %d.%d" % (reg .version_major , reg .version_minor ))
2930 if hasattr (reg , "Input1Status" ):
3031 print ("Input 1 status: %s" % reg .Input1Status )
3132 if hasattr (reg , "Input2Status" ):
Original file line number Diff line number Diff line change @@ -194,14 +194,14 @@ class DUC_Ref(enum.IntEnum):
194194 SDI_IN = 2
195195 HDMI_IN = 3
196196
197- class LCDOffTime (enum .IntEnum ):
198- OFF_5s = 0
199- OFF_15s = 1
200- OFF_30s = 2
201- OFF_1m = 3
202- OFF_5m = 4
203- OFF_10m = 5
204- OFF_30m = 6
197+ class Time (enum .IntEnum ):
198+ T_5s = 0
199+ T_15s = 1
200+ T_30s = 2
201+ T_1m = 3
202+ T_5m = 4
203+ T_10m = 5
204+ T_30m = 6
205205 NEVER = 7
206206
207207class AudioPair (enum .IntEnum ):
@@ -400,7 +400,8 @@ class CPA_Registers(Registers):
400400 "HO_Source" : HO_Source ,
401401 "DUC_Ref" : DUC_Ref ,
402402 "DUC_Source" : DUC_Source ,
403- "LCDOffTime" : LCDOffTime ,
403+ "LCDOffTime" : Time ,
404+ "ReturnToStatusTime" : Time ,
404405 "HDMI_Pair1" : AudioPair ,
405406 "HDMI_Pair2" : AudioPair ,
406407 "HDMI_Pair3" : AudioPair ,
You can’t perform that action at this time.
0 commit comments