|
SampleSmart 1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
|


Public 멤버 함수 | |
| byte[] | BuildReadDigitalInputs (IReadOnlyList< IoPoint > points) |
| IoResult< bool[]> | ParseDigitalInputs (IReadOnlyList< byte > responseFrame, int count) |
| byte[] | BuildReadDigitalOutputs (IReadOnlyList< IoPoint > points) |
| IoResult< bool[]> | ParseDigitalOutputs (IReadOnlyList< byte > responseFrame, int count) |
| byte[] | BuildWriteDigitalOutputs (IReadOnlyDictionary< IoPoint, bool > values) |
| byte[] | BuildReadAnalogInputs (IReadOnlyList< AnalogIoPoint > points) |
| IoResult< double[]> | ParseAnalogInputs (IReadOnlyList< byte > responseFrame, int count) |
| byte[] | BuildReadAnalogOutputs (IReadOnlyList< AnalogIoPoint > points) |
| IoResult< double[]> | ParseAnalogOutputs (IReadOnlyList< byte > responseFrame, int count) |
| byte[] | BuildWriteAnalogOutputs (IReadOnlyDictionary< AnalogIoPoint, double > values) |
| IoResult | ParseWriteResponse (IReadOnlyList< byte > responseFrame) |
정적 Private 멤버 함수 | |
| static IoResult< bool[]> | ParseBits (IReadOnlyList< byte > responseFrame, string prefix, int count) |
| static byte[] | Encode (string text) |
| static string | Decode (IReadOnlyList< byte > bytes) |
정적 Private 속성 | |
| const string | ReadDigitalInputsCommand = "RDI" |
| const string | ReadDigitalOutputsCommand = "RDO" |
| const string | WriteDigitalOutputsCommand = "WDO" |
| const string | AckResponse = "OK" |
Sample Fastech16 Point Protocol 기능과 관련 상태를 캡슐화합니다.
이 멤버의 동작과 사용 시 고려 사항을 설명합니다.
SampleFastech16PointProtocol.cs 파일의 24 번째 라인에서 정의되었습니다.
|
inline |
Read Analog Inputs 값을 구성합니다.
| points | points에 사용할 IReadOnlyList<AnalogIoPoint> 값입니다. |
byte[] 결과입니다.| NotSupportedException | 요청한 작업이 지원되지 않는 경우 발생합니다. |
SampleFastech16PointProtocol.cs 파일의 267 번째 라인에서 정의되었습니다.
|
inline |
Read Analog Outputs 값을 구성합니다.
| points | points에 사용할 IReadOnlyList<AnalogIoPoint> 값입니다. |
byte[] 결과입니다.| NotSupportedException | 요청한 작업이 지원되지 않는 경우 발생합니다. |
SampleFastech16PointProtocol.cs 파일의 341 번째 라인에서 정의되었습니다.
|
inline |
Read Digital Inputs 값을 구성합니다.
| points | points에 사용할 IReadOnlyList<IoPoint> 값입니다. |
byte[] 결과입니다.SampleFastech16PointProtocol.cs 파일의 87 번째 라인에서 정의되었습니다.
다음을 참조함 : Encode().

|
inline |
Read Digital Outputs 값을 구성합니다.
| points | points에 사용할 IReadOnlyList<IoPoint> 값입니다. |
byte[] 결과입니다.SampleFastech16PointProtocol.cs 파일의 155 번째 라인에서 정의되었습니다.
다음을 참조함 : Encode().

|
inline |
Write Analog Outputs 값을 구성합니다.
| values | values에 사용할 IReadOnlyDictionary<AnalogIoPoint, double> 값입니다. |
byte[] 결과입니다.| NotSupportedException | 요청한 작업이 지원되지 않는 경우 발생합니다. |
SampleFastech16PointProtocol.cs 파일의 415 번째 라인에서 정의되었습니다.
|
inline |
Write Digital Outputs 값을 구성합니다.
| values | values에 사용할 IReadOnlyDictionary<IoPoint, bool> 값입니다. |
byte[] 결과입니다.SampleFastech16PointProtocol.cs 파일의 223 번째 라인에서 정의되었습니다.
다음을 참조함 : Encode().

|
inlinestaticprivate |
Decode 작업을 수행합니다.
| bytes | bytes에 사용할 IReadOnlyList<byte> 값입니다. |
string 결과입니다.SampleFastech16PointProtocol.cs 파일의 569 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ParseBits(), ParseWriteResponse().

|
inlinestaticprivate |
Encode 작업을 수행합니다.
| text | text에 사용할 string 값입니다. |
byte[] 결과입니다.SampleFastech16PointProtocol.cs 파일의 540 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : BuildReadDigitalInputs(), BuildReadDigitalOutputs(), BuildWriteDigitalOutputs().

|
inline |
Parse Analog Inputs 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
| count | count에 사용할 int 값입니다. |
IoResult<double[]> 결과입니다.SampleFastech16PointProtocol.cs 파일의 304 번째 라인에서 정의되었습니다.
|
inline |
Parse Analog Outputs 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
| count | count에 사용할 int 값입니다. |
IoResult<double[]> 결과입니다.SampleFastech16PointProtocol.cs 파일의 378 번째 라인에서 정의되었습니다.
|
inlinestaticprivate |
Parse Bits 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
| prefix | prefix에 사용할 string 값입니다. |
| count | count에 사용할 int 값입니다. |
IoResult<bool[]> 결과입니다.SampleFastech16PointProtocol.cs 파일의 492 번째 라인에서 정의되었습니다.
다음을 참조함 : Decode().
다음에 의해서 참조됨 : ParseDigitalInputs(), ParseDigitalOutputs().


|
inline |
Parse Digital Inputs 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
| count | count에 사용할 int 값입니다. |
IoResult<bool[]> 결과입니다.SampleFastech16PointProtocol.cs 파일의 126 번째 라인에서 정의되었습니다.
다음을 참조함 : ParseBits().

|
inline |
Parse Digital Outputs 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
| count | count에 사용할 int 값입니다. |
IoResult<bool[]> 결과입니다.SampleFastech16PointProtocol.cs 파일의 194 번째 라인에서 정의되었습니다.
다음을 참조함 : ParseBits().

|
inline |
Parse Write Response 작업을 수행합니다.
| responseFrame | response Frame에 사용할 IReadOnlyList<byte> 값입니다. |
IoResult 결과입니다.SampleFastech16PointProtocol.cs 파일의 444 번째 라인에서 정의되었습니다.
다음을 참조함 : AckResponse, Decode().

|
staticprivate |
Ack Response 값을 보관합니다.
SampleFastech16PointProtocol.cs 파일의 61 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ParseWriteResponse().
|
staticprivate |
Read Digital Inputs Command 값을 보관합니다.
SampleFastech16PointProtocol.cs 파일의 34 번째 라인에서 정의되었습니다.
|
staticprivate |
Read Digital Outputs Command 값을 보관합니다.
SampleFastech16PointProtocol.cs 파일의 43 번째 라인에서 정의되었습니다.
|
staticprivate |
Write Digital Outputs Command 값을 보관합니다.
SampleFastech16PointProtocol.cs 파일의 52 번째 라인에서 정의되었습니다.