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

Public 멤버 함수 | |
| PagePlcMonitorEvent (PlcSampleRuntime runtime) | |
| void | UseInMemory () |
| void | StartServer () |
| void | StopServer () |
| void | UseSelectedClient () |
| void | UseTcpClient () |
| void | UseMcClient () |
| void | RunHandshakeTest () |
속성 | |
| PlcMonitorViewModel | Monitor [get] |
| string | Host = "127.0.0.1" [get, set] |
| string | PortText = "55000" [get, set] |
| string | ClientModeText = "SimulatorTcp" [get, set] |
| string | MxProgId = MitsubishiMxComponentOptions.DefaultProgId [get, set] |
| string | MxLogicalStationNumberText = "0" [get, set] |
| string | CxProgId = "OMRON.Compolet.CJ2Compolet" [get, set] |
| string | CxPeerAddress = "127.0.0.1" [get, set] |
| string | McHost = "127.0.0.1" [get, set] |
| string | McPortText = "5000" [get, set] |
| string | McTransportText = "Tcp" [get, set] |
| string | McRetryCountText = "1" [get, set] |
| string | HandshakeStartValueText = "1000" [get, set] |
| string | HandshakeIterationsText = "100" [get, set] |
| string | HandshakeDelayMsText = "10" [get, set] |
Private 멤버 함수 | |
| void | UseMitsubishiMxComponentClient () |
| void | UseOmronCxComponentClient () |
| void | UseOmronFinsClient (string host, int port, string transportText) |
| void | UseMitsubishiMcClient (string host, int port, string transportText) |
| bool | TryGetPort (out int port) |
Private 속성 | |
| readonly PlcSampleRuntime | _runtime |
Dreamine PLC 모니터 샘플 페이지 이벤트 처리 클래스입니다.
PagePlcMonitor.xaml.Event.cs 파일의 15 번째 라인에서 정의되었습니다.
|
inline |
PagePlcMonitorEvent 클래스의 새 인스턴스를 초기화합니다.
| runtime | PLC 샘플 실행 컨텍스트입니다. |
| ArgumentNullException | 필수 입력 인자 중 하나가 null인 경우 발생합니다. |
PagePlcMonitor.xaml.Event.cs 파일의 51 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime.
|
inline |
D100/D101 기반 자동 응답 Handshake 테스트를 실행합니다.
PagePlcMonitor.xaml.Event.cs 파일의 481 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, HandshakeDelayMsText, HandshakeIterationsText, HandshakeStartValueText.
|
inline |
PLC Simulator 서버를 시작합니다.
PagePlcMonitor.xaml.Event.cs 파일의 229 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, ClientModeText, Host, TryGetPort().

|
inline |
PLC Simulator 서버를 중지합니다.
PagePlcMonitor.xaml.Event.cs 파일의 255 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime.
|
inlineprivate |
Get Port 작업을 시도하고 성공 여부를 반환합니다.
| port | port에 사용할 int 값입니다. |
true이고, 그렇지 않으면 false입니다.PagePlcMonitor.xaml.Event.cs 파일의 528 번째 라인에서 정의되었습니다.
다음을 참조함 : PortText.
다음에 의해서 참조됨 : StartServer(), UseSelectedClient(), UseTcpClient().

|
inline |
InMemory PLC Client를 선택합니다.
PagePlcMonitor.xaml.Event.cs 파일의 216 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime.
|
inline |
Mitsubishi MC Client를 선택합니다.
PagePlcMonitor.xaml.Event.cs 파일의 456 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, McHost, McPortText, McRetryCountText, McTransportText.
|
inlineprivate |
Use Mitsubishi Mc Client 작업을 수행합니다.
| host | host에 사용할 string 값입니다. |
| port | port에 사용할 int 값입니다. |
| transportText | transport Text에 사용할 string 값입니다. |
PagePlcMonitor.xaml.Event.cs 파일의 436 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, McRetryCountText.
다음에 의해서 참조됨 : UseSelectedClient().

|
inlineprivate |
Use Mitsubishi Mx Component Client 작업을 수행합니다.
PagePlcMonitor.xaml.Event.cs 파일의 313 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, MxLogicalStationNumberText, MxProgId.
다음에 의해서 참조됨 : UseSelectedClient().

|
inlineprivate |
Use Omron Cx Component Client 작업을 수행합니다.
PagePlcMonitor.xaml.Event.cs 파일의 336 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, CxPeerAddress, CxProgId.
다음에 의해서 참조됨 : UseSelectedClient().

|
inlineprivate |
Use Omron Fins Client 작업을 수행합니다.
| host | host에 사용할 string 값입니다. |
| port | port에 사용할 int 값입니다. |
| transportText | transport Text에 사용할 string 값입니다. |
PagePlcMonitor.xaml.Event.cs 파일의 374 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, McRetryCountText.
다음에 의해서 참조됨 : UseSelectedClient().

|
inline |
선택된 PLC Client를 모니터에 연결합니다.
PagePlcMonitor.xaml.Event.cs 파일의 268 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, ClientModeText, Host, TryGetPort(), UseMitsubishiMcClient(), UseMitsubishiMxComponentClient(), UseOmronCxComponentClient(), UseOmronFinsClient().

|
inline |
PLC Simulator TCP Client를 선택합니다.
PagePlcMonitor.xaml.Event.cs 파일의 393 번째 라인에서 정의되었습니다.
다음을 참조함 : _runtime, Host, TryGetPort().

|
private |
runtime 값을 보관합니다.
PagePlcMonitor.xaml.Event.cs 파일의 25 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : PagePlcMonitorEvent(), RunHandshakeTest(), StartServer(), StopServer(), UseInMemory(), UseMcClient(), UseMitsubishiMcClient(), UseMitsubishiMxComponentClient(), UseOmronCxComponentClient(), UseOmronFinsClient(), UseSelectedClient(), UseTcpClient().
|
getset |
PLC Client 선택 모드 문자열입니다. SimulatorTcp, McTcp, McUdp, FinsTcp, FinsUdp, MxComponent, CxComponent를 사용합니다.
PagePlcMonitor.xaml.Event.cs 파일의 95 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : StartServer(), UseSelectedClient().
|
getset |
CX-Compolet peer address입니다.
PagePlcMonitor.xaml.Event.cs 파일의 135 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseOmronCxComponentClient().
|
getset |
CX-Compolet ProgID입니다.
PagePlcMonitor.xaml.Event.cs 파일의 125 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseOmronCxComponentClient().
|
getset |
Handshake 반복 간격 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 206 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : RunHandshakeTest().
|
getset |
Handshake 반복 횟수 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 196 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : RunHandshakeTest().
|
getset |
Handshake 시작 값 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 186 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : RunHandshakeTest().
|
getset |
Simulator Host입니다.
PagePlcMonitor.xaml.Event.cs 파일의 74 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : StartServer(), UseSelectedClient(), UseTcpClient().
|
getset |
Mitsubishi MC Host입니다.
PagePlcMonitor.xaml.Event.cs 파일의 146 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMcClient().
|
getset |
Mitsubishi MC Port 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 156 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMcClient().
|
getset |
Mitsubishi MC Retry Count 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 176 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMcClient(), UseMitsubishiMcClient(), UseOmronFinsClient().
|
getset |
Mitsubishi MC Transport 문자열입니다. Tcp 또는 Udp를 사용합니다.
PagePlcMonitor.xaml.Event.cs 파일의 166 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMcClient().
|
get |
PLC Monitor ViewModel입니다.
PagePlcMonitor.xaml.Event.cs 파일의 64 번째 라인에서 정의되었습니다.
|
getset |
MX Component logical station number 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 115 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMitsubishiMxComponentClient().
|
getset |
MX Component ProgID입니다.
PagePlcMonitor.xaml.Event.cs 파일의 105 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UseMitsubishiMxComponentClient().
|
getset |
Simulator Port 문자열입니다.
PagePlcMonitor.xaml.Event.cs 파일의 84 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : TryGetPort().