SampleSmart
1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
PageIoMonitor.xaml.ViewModel.cs
이 파일의 문서화 페이지로 가기
1
using
Dreamine.MVVM.Attributes;
2
using
Dreamine.MVVM.ViewModels;
3
using
SampleSmart.Pages.PageSub.IoTabs
;
4
5
namespace
SampleSmart.Pages.PageSub
;
6
15
public
partial class
PageIoMonitorViewModel
: ViewModelBase
16
{
25
[DreamineEvent]
26
private
PageIoMonitorEvent
_event
;
27
36
public
IoSampleRuntime
Runtime
=> Event.Runtime;
37
46
[DreamineCommand(
"Event.UseRealController"
)]
47
private
partial
void
UseRealController
();
48
57
[DreamineCommand(
"Event.UseSampleController"
)]
58
private
partial
void
UseSampleController
();
59
68
[DreamineCommand(
"Event.Connect"
)]
69
private
partial
void
Connect
();
70
79
[DreamineCommand(
"Event.ProbeHardware"
)]
80
private
partial
void
ProbeHardware
();
81
90
[DreamineCommand(
"Event.Disconnect"
)]
91
private
partial
void
Disconnect
();
92
101
[DreamineCommand(
"Event.ToggleInputs"
)]
102
private
partial
void
ToggleInputs
();
103
112
[DreamineCommand(
"Event.RefreshInputs"
)]
113
private
partial
void
RefreshInputs
();
114
123
[DreamineCommand(
"Event.WriteOutputs"
)]
124
private
partial
void
WriteOutputs
();
125
134
[DreamineCommand(
"Event.ReadOutputs"
)]
135
private
partial
void
ReadOutputs
();
136
153
public
PageIoMonitorViewModel
(
PageIoMonitorEvent
@event)
154
{
155
ArgumentNullException.ThrowIfNull(@event);
156
157
_event
= @event;
158
}
159
}
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
Definition
PageIoMonitor.xaml.Event.cs:14
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.ProbeHardware
partial void ProbeHardware()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.UseSampleController
partial void UseSampleController()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.ReadOutputs
partial void ReadOutputs()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.PageIoMonitorViewModel
PageIoMonitorViewModel(PageIoMonitorEvent @event)
Definition
PageIoMonitor.xaml.ViewModel.cs:153
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.RefreshInputs
partial void RefreshInputs()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.Disconnect
partial void Disconnect()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel._event
PageIoMonitorEvent _event
Definition
PageIoMonitor.xaml.ViewModel.cs:26
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.WriteOutputs
partial void WriteOutputs()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.Runtime
IoSampleRuntime Runtime
Definition
PageIoMonitor.xaml.ViewModel.cs:36
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.Connect
partial void Connect()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.ToggleInputs
partial void ToggleInputs()
SampleSmart.Pages.PageSub.PageIoMonitorViewModel.UseRealController
partial void UseRealController()
Pages
PageSub
PageIoMonitor.xaml.ViewModel.cs
다음에 의해 생성됨 :
1.17.0