Example #1
0
 /// <summary>
 /// Calls the <see cref="ExportSimulationData"/> event.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The argument.</param>
 public void Export(object sender, ExportDataEventArgs args)
 {
     ExportSimulationData?.Invoke(sender, args);
 }
Example #2
0
 /// <summary>
 /// Raises the <see cref="E:ExportSimulationData" /> event.
 /// </summary>
 /// <param name="args">The <see cref="ExportDataEventArgs"/> instance containing the event data.</param>
 protected virtual void OnExport(ExportDataEventArgs args) => ExportSimulationData?.Invoke(this, args);
Example #3
0
        /// <summary>
        /// Export the data
        /// </summary>
        /// <param name="ckt"></param>
        public virtual void Export(Circuit ckt)
        {
            SimulationData data = new SimulationData(ckt);

            ExportSimulationData?.Invoke(this, data);
        }