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