~sjdv1982/hivesystem/trunk

« back to all changes in this revision

Viewing changes to sparta/triggers/state_deactivate.py

  • Committer: Sjoerd de Vries
  • Date: 2014-06-09 10:19:38 UTC
  • mfrom: (182.1.43 hive-view)
  • Revision ID: sjdv1982@gmail.com-20140609101938-7ji5g0buo09r0se6
merged with hive-view branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import libcontext, bee
 
2
from bee.segments import *
 
3
 
 
4
class state_deactivate(bee.worker):
 
5
    """
 
6
    The state_deactivate trigger fires when the hive gets deactivated by a state change
 
7
    """
 
8
    
 
9
    trig = output("push", "trigger")
 
10
    trigfunc = triggerfunc(trig)
 
11
        
 
12
    # Name the inputs and outputs
 
13
    guiparams = {
 
14
      "trig" : {"name" : "Trigger"},
 
15
    }
 
16
    def place(self):
 
17
        raise NotImplementedError("sparta.triggers.state_deactivate has not been implemented yet")
 
18
    
 
 
b'\\ No newline at end of file'