Dreamine.IO.Fastech.Ethernet 1.0.1
Dreamine.IO.Fastech.Ethernet 산업 자동화 및 I/O 기능을 제공합니다.
로딩중...
검색중...
일치하는것 없음
UnsupportedFastechEthernetIoProtocol.cs
이 파일의 문서화 페이지로 가기
1using Dreamine.IO.Abstractions.Models;
2using Dreamine.IO.Abstractions.Results;
3
5
23{
32 private const string Message = "This Fastech Ethernet I/O model is not supported by the selected protocol. Provide an IFastechEthernetIoProtocol implementation verified against the target device manual and hardware.";
33
66 public byte[] BuildReadDigitalInputs(IReadOnlyList<IoPoint> points)
67 {
68 throw new NotSupportedException(Message);
69 }
70
103 public IoResult<bool[]> ParseDigitalInputs(IReadOnlyList<byte> responseFrame, int count)
104 {
105 return IoResult<bool[]>.Failure(Message);
106 }
107
140 public byte[] BuildReadDigitalOutputs(IReadOnlyList<IoPoint> points)
141 {
142 throw new NotSupportedException(Message);
143 }
144
177 public IoResult<bool[]> ParseDigitalOutputs(IReadOnlyList<byte> responseFrame, int count)
178 {
179 return IoResult<bool[]>.Failure(Message);
180 }
181
214 public byte[] BuildWriteDigitalOutputs(IReadOnlyDictionary<IoPoint, bool> values)
215 {
216 throw new NotSupportedException(Message);
217 }
218
251 public byte[] BuildReadAnalogInputs(IReadOnlyList<AnalogIoPoint> points)
252 {
253 throw new NotSupportedException(Message);
254 }
255
288 public IoResult<double[]> ParseAnalogInputs(IReadOnlyList<byte> responseFrame, int count)
289 {
290 return IoResult<double[]>.Failure(Message);
291 }
292
325 public byte[] BuildReadAnalogOutputs(IReadOnlyList<AnalogIoPoint> points)
326 {
327 throw new NotSupportedException(Message);
328 }
329
362 public IoResult<double[]> ParseAnalogOutputs(IReadOnlyList<byte> responseFrame, int count)
363 {
364 return IoResult<double[]>.Failure(Message);
365 }
366
399 public byte[] BuildWriteAnalogOutputs(IReadOnlyDictionary<AnalogIoPoint, double> values)
400 {
401 throw new NotSupportedException(Message);
402 }
403
428 public IoResult ParseWriteResponse(IReadOnlyList<byte> responseFrame)
429 {
430 return IoResult.Failure(Message);
431 }
432}
IoResult< bool[]> ParseDigitalInputs(IReadOnlyList< byte > responseFrame, int count)
IoResult< double[]> ParseAnalogOutputs(IReadOnlyList< byte > responseFrame, int count)
byte[] BuildWriteAnalogOutputs(IReadOnlyDictionary< AnalogIoPoint, double > values)
IoResult< double[]> ParseAnalogInputs(IReadOnlyList< byte > responseFrame, int count)
IoResult< bool[]> ParseDigitalOutputs(IReadOnlyList< byte > responseFrame, int count)