コード例 #1
0
 public void Start(VoltageTriggerCallback callback) {
     if (DistanceSampler == null) {
         VoltageTriggerProcedure = callback;
         DistanceSamplerStop = false;
         DistanceSampler = new Thread(DistanceSampling);
         DistanceSampler.Start();
     }
 }
コード例 #2
0
 public void Start(VoltageTriggerCallback callback)
 {
     if (DistanceSampler == null)
     {
         VoltageTriggerProcedure = callback;
         DistanceSamplerStop     = false;
         DistanceSampler         = new Thread(DistanceSampling);
         DistanceSampler.Start();
     }
 }
コード例 #3
0
 public void Dispose()
 {
     Stop();
     DistanceSensors         = null;
     VoltageTriggerProcedure = null;
 }
コード例 #4
0
 public void Dispose()
 {
     Stop();
     DistanceSensors = null;
     VoltageTriggerProcedure = null;
 }