using System;
|
|
namespace Plugin.TsSupport
|
{
|
public class ExecutionEndEvent
|
{
|
public object Origin { get; set; }
|
public object Data { get; set; }
|
}
|
|
public class UIMessageEvent
|
{
|
public object Origin { get; set; }
|
public object Data { get; set; }
|
public int EventCode { get; set; }
|
public double NumberData { get; set; }
|
public bool BoolData { get; set; }
|
public string StrData { get; set; }
|
}
|
|
public interface ITestExecutionWrapper
|
{
|
event EventHandler<UIMessageEvent> UIMessageEvent;
|
|
event EventHandler<ExecutionEndEvent> EndExecutionEvent;
|
|
object Init();
|
|
object StartSequence(string filePath, string modelPath);
|
|
T GetStationGlobalValue<T>(string key, int option);
|
|
T GetFileGlobalValue<T>(string key, int option);
|
|
void SetStationGlobalValue<T>(string key, int option, T value, bool inContext = false);
|
|
void SetFileGlobalValue<T>(string key, int option, T value);
|
|
void CommitToDisk(bool option);
|
|
bool WaitForExit();
|
|
bool ReleaseSeqFile();
|
void SetContext(object context);
|
|
void Dispose();
|
}
|
}
|