Files
huabe-sitondao/SLC1-N/gdMES.cs
2025-11-14 16:12:32 +08:00

409 lines
8.2 KiB
C#

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
{
/// <summary>
/// 條碼
/// </summary>
public string barcode { set; get; }
/// <summary>
/// 工單
/// </summary>
public string workorder { set; get; }
/// <summary>
/// 料號
/// </summary>
public string partno { set; get; }
/// <summary>
/// 工站
/// </summary>
public string station { set; get; }
/// <summary>
/// 機台編號
/// </summary>
public string equipmentno { set; get; }
/// <summary>
/// 夹具編號
/// </summary>
public string fixturecode { set; get; }
/// <summary>
/// 電腦名稱
/// </summary>
public string computerName { set; get; }
/// <summary>
/// 電腦IP
/// </summary>
public string computerIP { set; get; }
/// <summary>
/// 开机时长
/// </summary>
public string bootdurationm { set; get; }
/// <summary>
/// 停机时长
/// </summary>
public string downduration { set; get; }
/// <summary>
/// 测试结果
/// </summary>
public string result { set; get; }
/// <summary>
/// 测试失败原因
/// </summary>
public string faildescribe { set; get; }
/// <summary>
/// 傳入時間
/// </summary>
public string outtime { set; get; }
}
public class SNVerification
{
/// <summary>
/// 條碼
/// </summary>
public string barcode { set; get; }
/// <summary>
/// 工單
/// </summary>
public string workorder { set; get; }
/// <summary>
/// 料號
/// </summary>
public string partno { set; get; }
/// <summary>
/// 工站
/// </summary>
public string station { set; get; }
/// <summary>
/// 機台編號
/// </summary>
public string equipmentno { set; get; }
/// <summary>
/// 電腦名稱
/// </summary>
public string computerName { set; get; }
/// <summary>
/// 電腦IP
/// </summary>
public string computerIP { set; get; }
/// <summary>
/// 傳入時間
/// </summary>
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> 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;
}
}
}
}
}