コード例 #1
0
ファイル: mysupport.py プロジェクト: N2Github/Proje
    def GetPlatformStats(self, usemetric=None):

        if not usemetric == None:
            bMetric = usemetric
        else:
            bMetric = self.UseMetric
        Platform = MyPlatform(self.log, bMetric)

        return Platform.GetInfo()
コード例 #2
0
ファイル: mysupport.py プロジェクト: aesolutionsx3/genmon
    def GetPlatformStats(self, usemetric=None):

        PlatformInfo = collections.OrderedDict()

        if not usemetric == None:
            bMetric = usemetric
        else:
            bMetric = self.UseMetric
        Platform = MyPlatform(self.log, bMetric)

        return Platform.GetInfo()