SampleSmart
1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
PageIoMonitor.xaml.Event.cs
이 파일의 문서화 페이지로 가기
1
using
SampleSmart.Pages.PageSub.IoTabs
;
2
3
namespace
SampleSmart.Pages.PageSub
;
4
13
public
sealed
class
PageIoMonitorEvent
14
{
39
public
PageIoMonitorEvent
(
IoSampleRuntime
runtime)
40
{
41
Runtime
= runtime ??
throw
new
ArgumentNullException(nameof(runtime));
42
}
43
52
public
IoSampleRuntime
Runtime
{
get
; }
53
62
public
void
UseRealController
()
63
{
64
Runtime
.UseRealController();
65
}
66
75
public
void
UseSampleController
()
76
{
77
Runtime
.UseSampleController();
78
}
79
88
public
void
Connect
()
89
{
90
_ =
Runtime
.ConnectAsync();
91
}
92
101
public
void
ProbeHardware
()
102
{
103
_ =
Runtime
.ProbeHardwareAsync();
104
}
105
114
public
void
Disconnect
()
115
{
116
_ =
Runtime
.DisconnectAsync();
117
}
118
127
public
void
ToggleInputs
()
128
{
129
_ =
Runtime
.ToggleSampleInputsAsync();
130
}
131
140
public
void
RefreshInputs
()
141
{
142
_ =
Runtime
.RefreshInputsAsync();
143
}
144
153
public
void
WriteOutputs
()
154
{
155
_ =
Runtime
.WriteOutputsAsync();
156
}
157
166
public
void
ReadOutputs
()
167
{
168
_ =
Runtime
.ReadOutputsAsync();
169
}
170
}
SampleSmart.Pages.PageSub
Definition
CommunicationSampleRuntime.cs:21
SampleSmart.Pages.PageSub.IoTabs
Definition
IoPointState.cs:3
SampleSmart.Pages.PageSub.IoTabs.IoSampleRuntime
Definition
IoSampleRuntime.cs:22
SampleSmart.Pages.PageSub.PageIoMonitorEvent.RefreshInputs
void RefreshInputs()
Definition
PageIoMonitor.xaml.Event.cs:140
SampleSmart.Pages.PageSub.PageIoMonitorEvent.Disconnect
void Disconnect()
Definition
PageIoMonitor.xaml.Event.cs:114
SampleSmart.Pages.PageSub.PageIoMonitorEvent.ToggleInputs
void ToggleInputs()
Definition
PageIoMonitor.xaml.Event.cs:127
SampleSmart.Pages.PageSub.PageIoMonitorEvent.ReadOutputs
void ReadOutputs()
Definition
PageIoMonitor.xaml.Event.cs:166
SampleSmart.Pages.PageSub.PageIoMonitorEvent.PageIoMonitorEvent
PageIoMonitorEvent(IoSampleRuntime runtime)
Definition
PageIoMonitor.xaml.Event.cs:39
SampleSmart.Pages.PageSub.PageIoMonitorEvent.ProbeHardware
void ProbeHardware()
Definition
PageIoMonitor.xaml.Event.cs:101
SampleSmart.Pages.PageSub.PageIoMonitorEvent.WriteOutputs
void WriteOutputs()
Definition
PageIoMonitor.xaml.Event.cs:153
SampleSmart.Pages.PageSub.PageIoMonitorEvent.Connect
void Connect()
Definition
PageIoMonitor.xaml.Event.cs:88
SampleSmart.Pages.PageSub.PageIoMonitorEvent.UseSampleController
void UseSampleController()
Definition
PageIoMonitor.xaml.Event.cs:75
SampleSmart.Pages.PageSub.PageIoMonitorEvent.Runtime
IoSampleRuntime Runtime
Definition
PageIoMonitor.xaml.Event.cs:52
SampleSmart.Pages.PageSub.PageIoMonitorEvent.UseRealController
void UseRealController()
Definition
PageIoMonitor.xaml.Event.cs:62
Pages
PageSub
PageIoMonitor.xaml.Event.cs
다음에 의해 생성됨 :
1.17.0