using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SLC1_N { internal class gdMES { } public class SubmitTestItem { public string josnData { set; get; } } public class DataUp { private string _barcode; private string _starttime; private string _stoptime; private string _totalresult; private string _computerName; private string _computerIP; private string _fixturecode; private string _station; private string _partno; private string _poftwareversion; private string _plan; private string _outtime; public string barcode { get { return _barcode; } set { _barcode = value; } } public class SubmitTestResults { /// /// 條碼 /// public string barcode { set; get; } /// /// 工單 /// public string workorder { set; get; } /// /// 料號 /// public string partno { set; get; } /// /// 工站 /// public string station { set; get; } /// /// 機台編號 /// public string equipmentno { set; get; } /// /// 夹具編號 /// public string fixturecode { set; get; } /// /// 電腦名稱 /// public string computerName { set; get; } /// /// 電腦IP /// public string computerIP { set; get; } /// /// 开机时长 /// public string bootdurationm { set; get; } /// /// 停机时长 /// public string downduration { set; get; } /// /// 测试结果 /// public string result { set; get; } /// /// 测试失败原因 /// public string faildescribe { set; get; } /// /// 傳入時間 /// public string outtime { set; get; } } public class SNVerification { /// /// 條碼 /// public string barcode { set; get; } /// /// 工單 /// public string workorder { set; get; } /// /// 料號 /// public string partno { set; get; } /// /// 工站 /// public string station { set; get; } /// /// 機台編號 /// public string equipmentno { set; get; } /// /// 電腦名稱 /// public string computerName { set; get; } /// /// 電腦IP /// public string computerIP { set; get; } /// /// 傳入時間 /// public string intime { set; get; } } public string starttime { get { return _starttime; } set { _starttime = value; } } public string stoptime { get { return _stoptime; } set { _stoptime = value; } } public string totalresult { get { return _totalresult; } set { _totalresult = value; } } public string computerName { get { return _computerName; } set { _computerName = value; } } public string computerIP { get { return _computerIP; } set { _computerIP = value; } } public string fixturecode { get { return _fixturecode; } set { _fixturecode = value; } } public string station { get { return _station; } set { _station = value; } } public string partno { get { return _partno; } set { _partno = value; } } public string poftwareversion { get { return _poftwareversion; } set { _poftwareversion = value; } } public string plan { get { return _plan; } set { _plan = value; } } public string outtime { get { return _outtime; } set { _outtime = value; } } public Exvalue exvalue = new Exvalue(); public struct Exvalue { public List itemlist; } public struct ItemList { private string _itemname; public string itemname { get { return _itemname; } set { _itemname = value; } } public _item_value itemvalue; } public struct _item_value { private string strattime; private string stoptime; private string uplimit; private string dnlimit; private string result; private string testvalue1; public string Strattime { get { return strattime; } set { strattime = value; } } public string Stoptime { get { return stoptime; } set { stoptime = value; } } public string Uplimit { get { return uplimit; } set { uplimit = value; } } public string Dnlimit { get { return dnlimit; } set { dnlimit = value; } } public string Result { get { return result; } set { result = value; } } public string Testvalue1 { get { return testvalue1; } set { testvalue1 = value; } } } } }