예제 #1
0
    def __init__(self, _id):
        """
        :param cow: The cow the view of is generated.
        :type cow: int
        """

        super().__init__('production')

        self.title = 'Crude production'
        self.cow = mongo.cow(_id)
예제 #2
0
파일: crude.py 프로젝트: tartopum/MPF
    def __init__(self, _id):
        """
        :param cow: The cow the view of is generated.
        :type cow: int
        """

        super().__init__('production')

        self.title = 'Crude production'
        self.cow = mongo.cow(_id) 
예제 #3
0
파일: correlogram.py 프로젝트: tartopum/MPF
    def __init__(self, path, title, _ids, type_):
        super().__init__(join(path, type_))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0][LABELS['values']])
예제 #4
0
파일: correlogram.py 프로젝트: tartopum/MPF
    def __init__(self, path, title, _ids, type_):
        super().__init__(join(path, type_))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0][LABELS['values']]) 
예제 #5
0
파일: smoothing.py 프로젝트: tartopum/MPF
    def __init__(self, path, title, _ids):
        super().__init__(join(path, 'smoothed'))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0])
예제 #6
0
    def __init__(self, path, title, _ids):
        super().__init__(join(path, 'differenced'))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0])