public void ChangeEx(string id) { if (string.IsNullOrEmpty(id)) { return; } if (idfile.ContainsKey(id)) { ELID = id; ExperimentStatus = EXPERIMENTSTATUS.NONE; ELRepeat = 0; ELLoadTime = ELReadyTime = ELStartTime = ELStopTime = timer.ElapsedMillisecond; uicontroller.exs.value = uicontroller.exs.options.FindIndex(i => i.text == id); } else { Debug.LogWarning($"Can Not Find {id} in Experiment Directory: {uicontroller.config.ExDir}."); } }
public void OnELStop() { ELStopTime = timer.ElapsedMillisecond; ELRepeat++; ExperimentStatus = EXPERIMENTSTATUS.STOPPED; }
public void OnELStart() { ELStartTime = timer.ElapsedMillisecond; ExperimentStatus = EXPERIMENTSTATUS.RUNNING; }
public void StartEx() { ExperimentStatus = EXPERIMENTSTATUS.STARTING; uicontroller.start.isOn = true; }