SampleSmart 1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime 클래스 참조sealed

더 자세히 ...

SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime에 대한 상속 다이어그램 :
SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime에 대한 협력 다이어그램:

Public 멤버 함수

 IoSampleRuntime ()
void UseSampleController ()
void UseRealController ()
async Task ConnectAsync ()
async Task DisconnectAsync ()
async Task ProbeHardwareAsync ()
async Task RefreshInputsAsync ()
async Task WriteOutputsAsync ()
async Task ReadOutputsAsync ()
async Task ToggleSampleInputsAsync ()
async ValueTask DisposeAsync ()

속성

ObservableCollection< IoPointStateInputs [get]
ObservableCollection< IoPointStateOutputs [get]
string Host = "192.168.0.10" [get, set]
string PortText = "3001" [get, set]
string StatusMessage [get, private set]
bool IsConnected [get, private set]

이벤트

PropertyChangedEventHandler? PropertyChanged

Private 멤버 함수

FastechEthernetIoOptions CreateOptions ()
void EnsureController ()
bool EnsureConnected ()
void OnPropertyChanged ([CallerMemberName] string? propertyName=null)
string GetModeText ()
void AppendRawFrameDiagnostics ()
string GetRawFrameDiagnostics ()

정적 Private 멤버 함수

static void ApplyValues (IReadOnlyList< IoPointState > points, IReadOnlyList< bool > values)
static string ToHex (IReadOnlyList< byte > bytes)

Private 속성

readonly SampleFastech16PointTransport _transport = new()
FastechEthernetIoController? _controller
UdpFastechEthernetIoTransport? _realTransport
FastechPlusE16PointProtocol? _realProtocol
string _statusMessage = "Ready. Use Real UDP Controller for hardware, or Sample Controller for UI-only testing."
bool _isConnected
bool _isSampleMode

상세한 설명

Io Sample Runtime 기능과 관련 상태를 캡슐화합니다.

IoSampleRuntime.cs 파일의 21 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ IoSampleRuntime()

SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.IoSampleRuntime ( )
inline

지정한 설정으로 IoSampleRuntime 클래스의 새 인스턴스를 초기화합니다.

IoSampleRuntime.cs 파일의 95 번째 라인에서 정의되었습니다.

96 {
97 Inputs = new ObservableCollection<IoPointState>(
98 Enumerable.Range(0, 16).Select(i => new IoPointState(0, i, $"DI{i:00}")));
99
100 Outputs = new ObservableCollection<IoPointState>(
101 Enumerable.Range(0, 16).Select(i => new IoPointState(0, i, $"DO{i:00}")));
102 }

다음을 참조함 : Inputs, Outputs.

멤버 함수 문서화

◆ AppendRawFrameDiagnostics()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.AppendRawFrameDiagnostics ( )
inlineprivate

Append Raw Frame Diagnostics 작업을 수행합니다.

IoSampleRuntime.cs 파일의 675 번째 라인에서 정의되었습니다.

676 {
677 var diagnostics = GetRawFrameDiagnostics();
678 if (!string.IsNullOrWhiteSpace(diagnostics))
679 {
680 StatusMessage = $"{StatusMessage} {diagnostics}";
681 }
682 }

다음을 참조함 : GetRawFrameDiagnostics(), StatusMessage.

다음에 의해서 참조됨 : ReadOutputsAsync(), RefreshInputsAsync(), WriteOutputsAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ApplyValues()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ApplyValues ( IReadOnlyList< IoPointState > points,
IReadOnlyList< bool > values )
inlinestaticprivate

Apply Values 작업을 수행합니다.

매개변수
pointspoints에 사용할 IReadOnlyList<IoPointState> 값입니다.
valuesvalues에 사용할 IReadOnlyList<bool> 값입니다.

IoSampleRuntime.cs 파일의 617 번째 라인에서 정의되었습니다.

618 {
619 for (var i = 0; i < points.Count && i < values.Count; i++)
620 {
621 points[i].Value = values[i];
622 }
623 }

다음에 의해서 참조됨 : ReadOutputsAsync(), RefreshInputsAsync().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ConnectAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ConnectAsync ( )
inline

Connect Async 작업을 수행합니다.

반환값
Connect Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 258 번째 라인에서 정의되었습니다.

259 {
260 EnsureController();
261
262 if (_controller is null)
263 {
264 return;
265 }
266
267 var result = await _controller.ConnectAsync();
268 IsConnected = result.IsSuccess;
269 StatusMessage = result.IsSuccess
270 ? $"Fastech {GetModeText()} controller connected. Use Probe or Read DI to confirm device response."
271 : result.Message ?? $"Failed to connect the Fastech {GetModeText()} controller.";
272 }

다음을 참조함 : _controller, EnsureController(), IsConnected, StatusMessage.

다음에 의해서 참조됨 : ProbeHardwareAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ CreateOptions()

FastechEthernetIoOptions SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.CreateOptions ( )
inlineprivate

Options 값을 생성합니다.

반환값
Create Options 작업에서 생성한 FastechEthernetIoOptions 결과입니다.

IoSampleRuntime.cs 파일의 531 번째 라인에서 정의되었습니다.

532 {
533 var port = int.TryParse(PortText, out var parsedPort)
534 ? parsedPort
535 : 3001;
536
537 return new FastechEthernetIoOptions
538 {
539 Host = string.IsNullOrWhiteSpace(Host) ? "127.0.0.1" : Host,
540 Port = port,
541 TransportType = Dreamine.IO.Fastech.Ethernet.Options.FastechEthernetIoTransportType.Udp,
542 ExpectedResponseLength = 0
543 };
544 }

다음을 참조함 : Host, PortText.

다음에 의해서 참조됨 : UseRealController(), UseSampleController().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ DisconnectAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.DisconnectAsync ( )
inline

Disconnect Async 작업을 수행합니다.

반환값
Disconnect Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 290 번째 라인에서 정의되었습니다.

291 {
292 if (_controller is null)
293 {
294 return;
295 }
296
297 var result = await _controller.DisconnectAsync();
298 IsConnected = false;
299 StatusMessage = result.IsSuccess
300 ? $"Fastech {GetModeText()} controller disconnected."
301 : result.Message ?? $"Failed to disconnect the Fastech {GetModeText()} controller.";
302 }

다음을 참조함 : _controller, IsConnected, StatusMessage.

◆ DisposeAsync()

async ValueTask SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.DisposeAsync ( )
inline

이 인스턴스가 소유한 리소스를 해제합니다.

반환값
Dispose Async 작업에서 생성한 ValueTask 결과입니다.

IoSampleRuntime.cs 파일의 505 번째 라인에서 정의되었습니다.

506 {
507 if (_controller is not null)
508 {
509 await _controller.DisposeAsync();
510 }
511
512 await _transport.DisposeAsync();
513 }

다음을 참조함 : _controller, _transport.

◆ EnsureConnected()

bool SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.EnsureConnected ( )
inlineprivate

Ensure Connected 작업을 수행합니다.

반환값
Ensure Connected 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

IoSampleRuntime.cs 파일의 580 번째 라인에서 정의되었습니다.

581 {
582 EnsureController();
583
584 if (_controller is null || !IsConnected)
585 {
586 StatusMessage = $"Connect the Fastech {GetModeText()} controller first.";
587 return false;
588 }
589
590 return true;
591 }

다음을 참조함 : _controller, EnsureController(), IsConnected, StatusMessage.

다음에 의해서 참조됨 : ReadOutputsAsync(), RefreshInputsAsync(), WriteOutputsAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ EnsureController()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.EnsureController ( )
inlineprivate

Ensure Controller 작업을 수행합니다.

IoSampleRuntime.cs 파일의 554 번째 라인에서 정의되었습니다.

555 {
556 if (_controller is not null)
557 {
558 return;
559 }
560
561 UseRealController();
562 }

다음을 참조함 : _controller, UseRealController().

다음에 의해서 참조됨 : ConnectAsync(), EnsureConnected().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetModeText()

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.GetModeText ( )
inlineprivate

Mode Text 값을 가져옵니다.

반환값
Get Mode Text 작업에서 생성한 string 결과입니다.

IoSampleRuntime.cs 파일의 662 번째 라인에서 정의되었습니다.

663 {
664 return _isSampleMode ? "sample" : "real UDP";
665 }

다음을 참조함 : _isSampleMode.

◆ GetRawFrameDiagnostics()

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.GetRawFrameDiagnostics ( )
inlineprivate

Raw Frame Diagnostics 값을 가져옵니다.

반환값
Get Raw Frame Diagnostics 작업에서 생성한 string 결과입니다.

IoSampleRuntime.cs 파일의 700 번째 라인에서 정의되었습니다.

701 {
702 return _realTransport is null || _isSampleMode
703 ? string.Empty
704 : $"TX={ToHex(_realTransport.LastRequestFrame)} RX={ToHex(_realTransport.LastResponseFrame)}";
705 }

다음을 참조함 : _isSampleMode, _realTransport.

다음에 의해서 참조됨 : AppendRawFrameDiagnostics().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ OnPropertyChanged()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.OnPropertyChanged ( [CallerMemberName] string? propertyName = null)
inlineprivate

Property Changed 이벤트 또는 상태 변경을 처리합니다.

매개변수
propertyNameproperty Name에 사용할 string? 값입니다.

IoSampleRuntime.cs 파일의 641 번째 라인에서 정의되었습니다.

642 {
643 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
644 }

다음을 참조함 : PropertyChanged.

◆ ProbeHardwareAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ProbeHardwareAsync ( )
inline

Probe Hardware Async 작업을 수행합니다.

반환값
Probe Hardware Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 320 번째 라인에서 정의되었습니다.

321 {
322 if (_isSampleMode || _realTransport is null || _realProtocol is null)
323 {
324 UseRealController();
325 }
326
327 if (!IsConnected)
328 {
329 await ConnectAsync();
330 }
331
332 if (_realTransport is null || _realProtocol is null)
333 {
334 StatusMessage = "Real Fastech UDP controller is not ready.";
335 return;
336 }
337
338 var request = _realProtocol.BuildGetSlaveInfo();
339 var response = await _realTransport.SendAndReceiveAsync(request, 1000, 0);
340 if (!response.IsSuccess || response.Value is null)
341 {
342 StatusMessage = $"Probe failed: {response.Message}. TX={ToHex(_realTransport.LastRequestFrame)}";
343 return;
344 }
345
346 var info = _realProtocol.ParseSlaveInfo(response.Value);
347 StatusMessage = info.IsSuccess
348 ? $"Probe OK: {info.Value}. TX={ToHex(_realTransport.LastRequestFrame)} RX={ToHex(_realTransport.LastResponseFrame)}"
349 : $"Probe parse failed: {info.Message}. TX={ToHex(_realTransport.LastRequestFrame)} RX={ToHex(_realTransport.LastResponseFrame)}";
350 }

다음을 참조함 : _isSampleMode, _realProtocol, _realTransport, ConnectAsync(), IsConnected, StatusMessage, UseRealController().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ ReadOutputsAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ReadOutputsAsync ( )
inline

Outputs Async 데이터를 읽습니다.

반환값
Read Outputs Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 444 번째 라인에서 정의되었습니다.

445 {
446 if (!EnsureConnected())
447 {
448 return;
449 }
450
451 var points = Outputs
452 .Select(x => new IoPoint(x.Module, x.Channel, x.Name))
453 .ToArray();
454
455 var result = await _controller!.DigitalOutputs.ReadAsync(points);
456 if (!result.IsSuccess || result.Value is null)
457 {
458 StatusMessage = result.Message ?? "Failed to read digital outputs.";
459 AppendRawFrameDiagnostics();
460 return;
461 }
462
463 ApplyValues(Outputs, result.Value);
464 StatusMessage = $"Digital outputs read back from the Fastech {GetModeText()} controller. {GetRawFrameDiagnostics()}";
465 }

다음을 참조함 : _controller, AppendRawFrameDiagnostics(), ApplyValues(), EnsureConnected(), Outputs, StatusMessage.

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ RefreshInputsAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.RefreshInputsAsync ( )
inline

Refresh Inputs Async 작업을 수행합니다.

반환값
Refresh Inputs Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 368 번째 라인에서 정의되었습니다.

369 {
370 if (!EnsureConnected())
371 {
372 return;
373 }
374
375 var points = Inputs
376 .Select(x => new IoPoint(x.Module, x.Channel, x.Name))
377 .ToArray();
378
379 var result = await _controller!.DigitalInputs.ReadAsync(points);
380 if (!result.IsSuccess || result.Value is null)
381 {
382 StatusMessage = result.Message ?? "Failed to refresh digital inputs.";
383 AppendRawFrameDiagnostics();
384 return;
385 }
386
387 ApplyValues(Inputs, result.Value);
388 StatusMessage = $"Digital inputs refreshed from the Fastech {GetModeText()} controller. {GetRawFrameDiagnostics()}";
389 }

다음을 참조함 : _controller, AppendRawFrameDiagnostics(), ApplyValues(), EnsureConnected(), Inputs, StatusMessage.

다음에 의해서 참조됨 : ToggleSampleInputsAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ToggleSampleInputsAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ToggleSampleInputsAsync ( )
inline

Toggle Sample Inputs Async 작업을 수행합니다.

반환값
Toggle Sample Inputs Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 483 번째 라인에서 정의되었습니다.

484 {
485 _transport.ToggleInputPattern();
486 await RefreshInputsAsync();
487 }

다음을 참조함 : _transport, RefreshInputsAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ ToHex()

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.ToHex ( IReadOnlyList< byte > bytes)
inlinestaticprivate

To Hex 작업을 수행합니다.

매개변수
bytesbytes에 사용할 IReadOnlyList<byte> 값입니다.
반환값
To Hex 작업에서 생성한 string 결과입니다.

IoSampleRuntime.cs 파일의 731 번째 라인에서 정의되었습니다.

732 {
733 if (bytes.Count == 0)
734 {
735 return "<none>";
736 }
737
738 var builder = new StringBuilder(bytes.Count * 3);
739 for (var i = 0; i < bytes.Count; i++)
740 {
741 if (i > 0)
742 {
743 builder.Append(' ');
744 }
745
746 builder.Append(bytes[i].ToString("X2"));
747 }
748
749 return builder.ToString();
750 }

◆ UseRealController()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.UseRealController ( )
inline

Use Real Controller 작업을 수행합니다.

IoSampleRuntime.cs 파일의 230 번째 라인에서 정의되었습니다.

231 {
232 var options = CreateOptions();
233 _realTransport = new UdpFastechEthernetIoTransport(options);
234 _realProtocol = new FastechPlusE16PointProtocol();
235 _controller = new FastechEthernetIoController(options, _realTransport, _realProtocol);
236
237 _isSampleMode = false;
238 IsConnected = false;
239 StatusMessage = $"Real Fastech Ezi-IO Plus-E UDP controller selected. Target={Host}:{PortText}.";
240 }

다음을 참조함 : _controller, _isSampleMode, _realProtocol, _realTransport, CreateOptions(), IsConnected, StatusMessage.

다음에 의해서 참조됨 : EnsureController(), ProbeHardwareAsync().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ UseSampleController()

void SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.UseSampleController ( )
inline

Use Sample Controller 작업을 수행합니다.

IoSampleRuntime.cs 파일의 208 번째 라인에서 정의되었습니다.

209 {
210 _controller = new FastechEthernetIoController(
211 CreateOptions(),
212 _transport,
213 new SampleFastech16PointProtocol());
214
215 _realTransport = null;
216 _realProtocol = null;
217 _isSampleMode = true;
218 IsConnected = false;
219 StatusMessage = "Sample Fastech Ethernet 16/16 controller selected.";
220 }

다음을 참조함 : _controller, _isSampleMode, _realProtocol, _realTransport, _transport, CreateOptions(), IsConnected, StatusMessage.

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ WriteOutputsAsync()

async Task SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.WriteOutputsAsync ( )
inline

Outputs Async 데이터를 씁니다.

반환값
Write Outputs Async 작업에서 생성한 Task 결과입니다.

IoSampleRuntime.cs 파일의 407 번째 라인에서 정의되었습니다.

408 {
409 if (!EnsureConnected())
410 {
411 return;
412 }
413
414 var values = Outputs.ToDictionary(
415 x => new IoPoint(x.Module, x.Channel, x.Name),
416 x => x.Value);
417
418 var result = await _controller!.DigitalOutputs.WriteAsync(values);
419 StatusMessage = result.IsSuccess
420 ? $"Digital outputs written to the Fastech {GetModeText()} controller. {GetRawFrameDiagnostics()}"
421 : result.Message ?? "Failed to write digital outputs.";
422 if (!result.IsSuccess)
423 {
424 AppendRawFrameDiagnostics();
425 }
426 }

다음을 참조함 : _controller, AppendRawFrameDiagnostics(), EnsureConnected(), Outputs, StatusMessage.

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ _controller

FastechEthernetIoController? SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._controller
private

controller 값을 보관합니다.

IoSampleRuntime.cs 파일의 40 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ConnectAsync(), DisconnectAsync(), DisposeAsync(), EnsureConnected(), EnsureController(), ReadOutputsAsync(), RefreshInputsAsync(), UseRealController(), UseSampleController(), WriteOutputsAsync().

◆ _isConnected

bool SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._isConnected
private

is Connected 값을 보관합니다.

IoSampleRuntime.cs 파일의 76 번째 라인에서 정의되었습니다.

◆ _isSampleMode

bool SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._isSampleMode
private

is Sample Mode 값을 보관합니다.

IoSampleRuntime.cs 파일의 85 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : GetModeText(), GetRawFrameDiagnostics(), ProbeHardwareAsync(), UseRealController(), UseSampleController().

◆ _realProtocol

FastechPlusE16PointProtocol? SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._realProtocol
private

real Protocol 값을 보관합니다.

IoSampleRuntime.cs 파일의 58 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ProbeHardwareAsync(), UseRealController(), UseSampleController().

◆ _realTransport

UdpFastechEthernetIoTransport? SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._realTransport
private

real Transport 값을 보관합니다.

IoSampleRuntime.cs 파일의 49 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : GetRawFrameDiagnostics(), ProbeHardwareAsync(), UseRealController(), UseSampleController().

◆ _statusMessage

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._statusMessage = "Ready. Use Real UDP Controller for hardware, or Sample Controller for UI-only testing."
private

status Message 값을 보관합니다.

IoSampleRuntime.cs 파일의 67 번째 라인에서 정의되었습니다.

◆ _transport

readonly SampleFastech16PointTransport SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime._transport = new()
private

transport 값을 보관합니다.

IoSampleRuntime.cs 파일의 31 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : DisposeAsync(), ToggleSampleInputsAsync(), UseSampleController().

속성 문서화

◆ Host

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.Host = "192.168.0.10"
getset

Host 값을 가져오거나 설정합니다.

IoSampleRuntime.cs 파일의 142 번째 라인에서 정의되었습니다.

142{ get; set; } = "192.168.0.10";

다음에 의해서 참조됨 : CreateOptions().

◆ Inputs

ObservableCollection<IoPointState> SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.Inputs
get

Inputs 값을 가져옵니다.

IoSampleRuntime.cs 파일의 122 번째 라인에서 정의되었습니다.

122{ get; }

다음에 의해서 참조됨 : IoSampleRuntime(), RefreshInputsAsync().

◆ IsConnected

bool SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.IsConnected
getprivate set

Is Connected 값을 가져오거나 설정합니다.

IoSampleRuntime.cs 파일의 185 번째 라인에서 정의되었습니다.

186 {
187 get => _isConnected;
188 private set
189 {
190 if (_isConnected == value)
191 {
192 return;
193 }
194
195 _isConnected = value;
196 OnPropertyChanged();
197 }
198 }

다음에 의해서 참조됨 : ConnectAsync(), DisconnectAsync(), EnsureConnected(), ProbeHardwareAsync(), UseRealController(), UseSampleController().

◆ Outputs

ObservableCollection<IoPointState> SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.Outputs
get

Outputs 값을 가져옵니다.

IoSampleRuntime.cs 파일의 132 번째 라인에서 정의되었습니다.

132{ get; }

다음에 의해서 참조됨 : IoSampleRuntime(), ReadOutputsAsync(), WriteOutputsAsync().

◆ PortText

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.PortText = "3001"
getset

Port Text 값을 가져오거나 설정합니다.

IoSampleRuntime.cs 파일의 152 번째 라인에서 정의되었습니다.

152{ get; set; } = "3001";

다음에 의해서 참조됨 : CreateOptions().

◆ StatusMessage

string SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.StatusMessage
getprivate set

Status Message 값을 가져오거나 설정합니다.

IoSampleRuntime.cs 파일의 162 번째 라인에서 정의되었습니다.

163 {
164 get => _statusMessage;
165 private set
166 {
167 if (_statusMessage == value)
168 {
169 return;
170 }
171
172 _statusMessage = value;
173 OnPropertyChanged();
174 }
175 }

다음에 의해서 참조됨 : AppendRawFrameDiagnostics(), ConnectAsync(), DisconnectAsync(), EnsureConnected(), ProbeHardwareAsync(), ReadOutputsAsync(), RefreshInputsAsync(), UseRealController(), UseSampleController(), WriteOutputsAsync().

이벤트 문서화

◆ PropertyChanged

PropertyChangedEventHandler? SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime.PropertyChanged

Property Changed 상황이 발생할 때 알립니다.

IoSampleRuntime.cs 파일의 112 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : OnPropertyChanged().


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: