初始化提交
仓库转移到Gitea,初始化提交,可能丢失以前的git版本日志
This commit is contained in:
55
AUTS_DataService/UtsApp/UtsApp.vb
Normal file
55
AUTS_DataService/UtsApp/UtsApp.vb
Normal file
@@ -0,0 +1,55 @@
|
||||
Imports System.Net.Sockets
|
||||
Imports Newtonsoft.Json
|
||||
Imports Newtonsoft.Json.Converters
|
||||
Imports UTS_Core.UTSModule.Test.StatusMonitor
|
||||
Public Class UtsApp
|
||||
Public Property Name As String
|
||||
|
||||
Public Property ProjectName As String
|
||||
|
||||
Public Property StationName As String
|
||||
|
||||
Public Property TestPlan As String
|
||||
|
||||
Public Property Version As String
|
||||
|
||||
<JsonConverter(GetType(StringEnumConverter))>
|
||||
Public Property Status As AppStatus
|
||||
|
||||
<JsonIgnore>
|
||||
Public Property UtsStatus As ComportStatusMonitor.ComPortConnectStatusEnum
|
||||
|
||||
<JsonIgnore>
|
||||
Public Property TestStatus As TestCommandStatusMonitor.TestCommandStatusEnum
|
||||
|
||||
<JsonIgnore>
|
||||
Public Property Client As TcpClient
|
||||
|
||||
|
||||
|
||||
Sub New()
|
||||
Name = String.Empty
|
||||
ProjectName = String.Empty
|
||||
StationName = String.Empty
|
||||
TestPlan = String.Empty
|
||||
Version = String.Empty
|
||||
|
||||
UtsStatus = ComportStatusMonitor.ComPortConnectStatusEnum.UnConnected
|
||||
TestStatus = TestCommandStatusMonitor.TestCommandStatusEnum.None
|
||||
Status = AppStatus.Closed
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
Enum AppStatus
|
||||
''' <summary>
|
||||
''' 已启动
|
||||
''' </summary>
|
||||
Started
|
||||
''' <summary>
|
||||
''' 已关闭
|
||||
''' </summary>
|
||||
Closed
|
||||
End Enum
|
||||
End Class
|
||||
Reference in New Issue
Block a user