示例#1
0
 public void onReceiveResult(double val)
 {
     Stat stat = new Stat();
     stat.setDate(DateTime.Now);
     stat.type = "microphone";
     stat.vals = "[" + val + "]";
     stat.experiment = -1;
     mainForm.temporaryStorage.add(stat);
     mainForm.Invoke(mainForm.webViewDelegate, new object[] { stat.type, stat.vals, stat.date });
 }
示例#2
0
 public void add(Stat stat)
 {
     if (recording) {
         data.Add(stat);
     }
 }