C# 클래스 PlugwiseLib.BLL.BPC.PlugwiseSerialPortFactory

파일 보기 프로젝트 열기: GreenCodeLab/Tool-GreenPlugwise

공개 메소드들

메소드 설명
Create ( PlugwiseSerialPortRequest req, string mac ) : string

This factory returns the strings that will be sent to the serial port when a certain command needs the be activated

Create ( PlugwiseSerialPortRequest req, string logId, string mac ) : string
GetEnd ( ) : string
GetStart ( ) : string

비공개 메소드들

메소드 설명
GetOnMessage ( string mac ) : string
getCalibrationMessage ( string mac ) : string
getHistoryMessage ( string mac, string logId ) : string
getOffMessage ( string mac ) : string
getPowerinfoMessage ( string mac ) : string
getStatusMessage ( string mac ) : string

메소드 상세

Create() 공개 정적인 메소드

This factory returns the strings that will be sent to the serial port when a certain command needs the be activated
public static Create ( PlugwiseSerialPortRequest req, string mac ) : string
req PlugwiseSerialPortRequest The type of request that has to be sent to the plugs
mac string The mac address of the receiver
리턴 string

Create() 공개 정적인 메소드

public static Create ( PlugwiseSerialPortRequest req, string logId, string mac ) : string
req PlugwiseSerialPortRequest
logId string
mac string
리턴 string

GetEnd() 공개 정적인 메소드

public static GetEnd ( ) : string
리턴 string

GetStart() 공개 정적인 메소드

public static GetStart ( ) : string
리턴 string