private void OnDataUpdated(CWData e) { Object obj = e.Value; manager.essProxy.AddRecord(manager.experimentID, "", recordType, true, obj.ToString(), null); }
private void OnDataUpdated(CWData e) { Object obj = e.Value; if ((accessMode & LabDataSource.READ) == LabDataSource.READ) { if (firstRead) { firstRead = false; if (Convert.ToInt32(e.Value) == 0) return; } manager.essProxy.AddRecord(manager.experimentID, "", recordType, true, e.Value.ToString(), null); } }