Long Progress Logics were added
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using StructureHelperCommon.Models.Calculators;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace StructureHelperCommon.Infrastructures.Interfaces
|
||||
{
|
||||
public interface ILongProcessLogic
|
||||
{
|
||||
int StepCount { get; }
|
||||
Action<int> SetProgress { get; set; }
|
||||
bool Result { get; set; }
|
||||
|
||||
void WorkerDoWork(object sender, DoWorkEventArgs e);
|
||||
void WorkerProgressChanged(object sender, ProgressChangedEventArgs e);
|
||||
void WorkerRunWorkCompleted(object sender, RunWorkerCompletedEventArgs e);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public class InterpolateTuplesResult
|
||||
{
|
||||
public IDesignForceTuple StartTuple { get; set; }
|
||||
public IDesignForceTuple FinishTuple { get; set; }
|
||||
public int StepCount { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user