コード例 #1
0
ファイル: TC.cs プロジェクト: karitaojala/CPM-Pressure
 private TC(string port)
 {
     device = new CPARDevice()
     {
         Location = Location.Parse(port)
     };
     device.Open();
     watch = new Stopwatch();
 }
コード例 #2
0
 // ExecutedRoutedEventHandler for the custom color command.
 private void OpenDeviceCmdExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     device.Open();
 }