示例#1
0
 private void OscilloscopeSoftPanelForm_Load(object sender, EventArgs e)
 {
     _globalInfo.MainForm             = this;
     _channelViewManager              = new ChannelViewManager(this, label__ch1, label_ch2, label_ch3, label_ch4);
     _globalInfo.ChartViewPlot        = easyChartX_data.Plot;
     _globalInfo.FunctionPlot         = easyChartX_function.Plot;
     _globalInfo.ApplyConfigInRunTime = ApplyConfigInRunTime;
     _scopeTask = new OscilloscopeTask(this);
     _funcTask  = new FunctionTask(this);
 }
        public IActionResult Execute(JsonSerializerSettings jsonSettings = null)
        {
            var operationResult = FunctionResult ?? FunctionTask.GetAwaiter().GetResult();

            return(ExecutePrivateAsync(operationResult, jsonSettings));
        }