C# 클래스 HomeAutomation.Core.DeviceCommand

Represents a command that can be executed on devices. By convention Name represents the name of a method in the device. This should be accessible through reflection. Also by convention all methods accessible this way should only have string parameters.
파일 보기 프로젝트 열기: moszinet/HomeAutomation 1 사용 예제들

공개 메소드들

메소드 설명
CreateFromString ( string commandMessage ) : DeviceCommand

Builds a device command based on the command message. Format: networkname,methodname,param1,param2,param3,...

메소드 상세

CreateFromString() 공개 정적인 메소드

Builds a device command based on the command message. Format: networkname,methodname,param1,param2,param3,...
public static CreateFromString ( string commandMessage ) : DeviceCommand
commandMessage string
리턴 DeviceCommand