wenxiangchao
2026-11-02 fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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();
    }
}