예제 #1
0
 def __init__(self):
     super(Ambrosio, self).__init__()
     self.c1 = CommandList()
     self.channels = []
     self.channels.append(ch.TextChannel())
     self.channels.append(ch.TelegramChannel())
     self.actions = []
     self.actions.append(ac.MusicPlayer())
예제 #2
0
파일: ambrosio.py 프로젝트: joe199/ambrosio
    def __init__(self):
        super(Ambrosio, self).__init__()
        self.cl = CommandList()

        self._get_config()
        self.channels = []
        c = ch.TextChannel(self.cfg)
        self.channels.append(c)
        self.channels.append(ch.TelegramChannel(self.cfg))
        self.actions = []
        self.actions.append(ac.MusicPlayer(self.cfg))
        #self.actions.append(ac.SensorActions(self.cfg))
        self.actions.append(ac.WakeAction(self.cfg))
예제 #3
0
    def __init__(self):
        self.flow_near = None
        self.flow_out = None

        self.cl = CommandList()

        self.config()

        self.notify = []
        self.notify.append(noti.MockObject(self.cfg))
        self.notify.append(noti.TelegramChannel(self.cfg))

        self.sensors = []
        self.sensors.append(sen.Flow())
        self.sensors.append(sen.NFC())
예제 #4
0
파일: ambr.py 프로젝트: erikinho92/ambrosio
 def __init__(self):
     super(Ambrosio, self).__init__()
     self.cl = CommandList()
     self.channels = []
     self.channels.append(ch.TextChannel())