C# 클래스 Plugins.Relays

Control Plugin to manage the RelayShield http://www.seeedstudio.com/depot/relay-shield-p-693.html?cPath=132_134 Used to control lighting and ATO solenoid
상속: Controller.ControlPlugin
파일 보기 프로젝트 열기: h07r0d/Netduino-Aquarium-Controller

공개 메소드들

메소드 설명
Commands ( ) : Hashtable
Dispose ( ) : void
ExecuteControl ( object state ) : void

Execute RelayCommand given in state object

HandleWebRequest ( Request request, object response ) : void

Event handler registered with the Web Server to process incomming web requests

Relays ( object _config ) : System

비공개 메소드들

메소드 설명
GetTimeSpan ( string _time ) : System.TimeSpan

Determine the timespan from 'now' when the given command should be run

ParseCommands ( ArrayList _commands ) : void

Parse JSON array of relay config and store for delayed execution

메소드 상세

Commands() 공개 메소드

public Commands ( ) : Hashtable
리턴 System.Collections.Hashtable

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExecuteControl() 공개 메소드

Execute RelayCommand given in state object
public ExecuteControl ( object state ) : void
state object DictionaryEntry object to process on execution
리턴 void

HandleWebRequest() 공개 메소드

Event handler registered with the Web Server to process incomming web requests
public HandleWebRequest ( Request request, object response ) : void
request Webserver.Request
response object
리턴 void

Relays() 공개 메소드

public Relays ( object _config ) : System
_config object
리턴 System