예제 #1
0
    def Init(self,uScriptName,uScriptFile=u''):
        """
        Init function for the script

        :param string uScriptName: The name of the script (to be passed to all scripts)
        :param uScriptFile: The file of the script (to be passed to all scripts)
        """
        cDiscoverScriptTemplate.Init(self, uScriptName, uScriptFile)
        self.oScriptConfig.dDefaultSettings['TimeOut']['active']                     = "enabled"
예제 #2
0
    def Init(self,
             uObjectName: str,
             oFnScript: Union[cFileName, None] = None) -> None:
        """
        Init function for the script

        :param str uObjectName: The name of the script (to be passed to all scripts)
        :param cFileName oFnScript: The file of the script (to be passed to all scripts)
        """
        cDiscoverScriptTemplate.Init(self, uObjectName, oFnScript)
        self.oObjectConfig.dDefaultSettings['TimeOut']['active'] = "enabled"
예제 #3
0
 def Init(self, uScriptName, uScriptFile=u''):
     cDiscoverScriptTemplate.Init(self, uScriptName, uScriptFile)
     self.oScriptConfig.dDefaultSettings['TimeOut']['active'] = "enabled"