C# Класс PlugwiseLib.BLL.BPC.PlugwiseSerialPortFactory

Показать файл Открыть проект

Открытые методы

Метод Описание
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