static bool GetOptions(string[] args, MyAcquisitionParams acqParams) { // Check if arguments were passed if (args.Length > 1) { return(ExampleUtils.GetOptionsFromCommandLine(args, acqParams)); } else { return(ExampleUtils.GetOptionsFromQuestions(acqParams)); } }
/**********************************************硬触发模式结束***************************************************************/ static bool GetOptions(string[] args, MyAcquisitionParams acqParams) { return(ExampleUtils.GetOptionsFromQuestions(acqParams)); }