@@ -20,6 +20,7 @@ def __init__( self, aRoot: Tk ):
20
20
self .isCheckSigSpnDuplicationValue = BooleanVar ( value = DbcCheckConfig .CONF_CHECK_SIG_SPN_DUPLICATION )
21
21
self .isCheckDbVersionValue = BooleanVar ( value = DbcCheckConfig .CONF_CHECK_DB_VERSION )
22
22
self .signalByteOrder = StringVar ( value = DbcCheckConfig .SIGNAL_BYTE_ORDER )
23
+ self .usePolarionFasIntegrationsForCheckSignalsValue = BooleanVar ( value = DbcCheckConfig .CONF_USE_POLARION_INTEGRATIONS_FOR_CHECK_SIGNALS )
23
24
24
25
def configureUi ( self ) -> None :
25
26
self .checkMsgDuplicationCheckBox = Checkbutton ( master = self .frame , text = "Check Messages Duplication" , variable = self .isCheckMsgDuplicationValue , command = self .onSettingsChange )
@@ -40,6 +41,9 @@ def configureUi( self ) -> None:
40
41
self .ignoreMsgDupWithSameSignalsCheckBox = Checkbutton ( master = self .frame , text = "Ignore Messages Duplication for the Same Signals" , variable = self .isIgnoreMsgDupWithSameSignalsValue , command = self .onSettingsChange )
41
42
self .ignoreMsgDupWithSameSignalsCheckBox .grid ( row = 5 , column = 0 , padx = DbcCheckConfig .CONF_PAD_DX , sticky = "W" )
42
43
44
+ self .usePolarionFasIntegrationsForCheckSignalsCheckBox = Checkbutton ( master = self .frame , text = "Use Polarion Integration Info for check signals" , variable = self .usePolarionFasIntegrationsForCheckSignalsValue , command = self .onSettingsChange )
45
+ self .usePolarionFasIntegrationsForCheckSignalsCheckBox .grid ( row = 6 , column = 0 , padx = DbcCheckConfig .CONF_PAD_DX , sticky = "W" )
46
+
43
47
radioFrame = Frame ( self .frame )
44
48
radioFrame .grid ( sticky = "NEWS" )
45
49
@@ -68,6 +72,7 @@ def onSettingsChange( self ) -> None:
68
72
DbcCheckConfig .CONF_CHECK_SIG_SPN_DUPLICATION = self .isCheckSigSpnDuplicationValue .get ()
69
73
DbcCheckConfig .isCheckDbVersionValue = self .isCheckDbVersionValue .get ()
70
74
DbcCheckConfig .SIGNAL_BYTE_ORDER = self .signalByteOrder .get ()
75
+ DbcCheckConfig .CONF_USE_POLARION_INTEGRATIONS_FOR_CHECK_SIGNALS = self .usePolarionFasIntegrationsForCheckSignalsValue .get ()
71
76
72
77
def onApplySettings ( self ) -> None :
73
78
# Do nothing all things are applied automatically now
0 commit comments