Beispiel #1
0
        private void StartDalControll()
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();

            if (openFileDialog.ShowDialog() == true)
            {
                exhibitControl = new Dal200Control(DTDTPort, DwellRadius, DwellTime, openFileDialog.FileName);
                exhibitControl.dtdtHandler.OnDataReceived += data =>
                                                             OscMessages.Add($"{DateTime.UtcNow.ToString("T")} -> {data.ToString()}");
                wsServerAddr = $"ws://{NetworkUtils.GetLocalIPAddress()}/Dall200";
                OnPropertyChanged(nameof(wsServerAddr));
            }
        }
 private void StartDalControll()
 {
     exhibitControl = new Dal200Control(DTDTPort, DwellRadius, DwellTime);
     exhibitControl.dtdtHandler.OnDataReceived += data => OscMessages.Add($"{DateTime.UtcNow.ToString("T")} -> {data.ToString()}");
 }