Esempio n. 1
0
 public void PushSingleton(CConnectionFrames.CFrame frame_singleton)
 {
     CConnectionFrames _connection_frames_temp = _connection_frames; if (_connection_frames_temp != null)
     {
         _connection_frames_temp.PushSingleton(frame_singleton);
     }
 }
Esempio n. 2
0
 public void Disconnect()
 {
     CConnectionFrames _connection_frames_temp = _connection_frames; if (_connection_frames_temp != null)
     {
         _connection_frames_temp.Terminate();
     }
 }
Esempio n. 3
0
 public void PushFrame(CConnectionFrames.CFrame frame)
 {
     CConnectionFrames _connection_frames_temp = _connection_frames; if (_connection_frames_temp != null)
     {
         _connection_frames_temp.PushFrame(frame);
     }
 }
Esempio n. 4
0
 public void Connect()
 {
     Disconnect(); _settings.Reset(); _connection_frames = new CConnectionFrames(() => { _connection_frames = null; OnPropertyChanged(nameof(IsConnected)); }, _connection_port, _connection_baudrate, _FrameProcessor); OnPropertyChanged(nameof(IsConnected));
 }