You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
2.9 KiB
145 lines
2.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace HelloTeamcenter.hello
|
|
{
|
|
class BomMsgBean
|
|
{
|
|
String index;//序号
|
|
String codeNo;//代号
|
|
String name;//名称
|
|
String quantity;//数量
|
|
String material;//材料
|
|
String note;//备注
|
|
String zhongliang ;
|
|
String zongzhong ;
|
|
|
|
/// <summary>
|
|
/// 返回信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public String toString() {
|
|
return "index =" + index + " | codeNo=" + codeNo + " | name=" + name + " | quantity=" + quantity + " | material=" + material+" | note="+note +"\n";
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 设置和得到序号
|
|
/// </summary>
|
|
public String Zongzhong
|
|
{
|
|
set
|
|
{
|
|
zongzhong = value;
|
|
}
|
|
get
|
|
{
|
|
return zongzhong;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置和得到序号
|
|
/// </summary>
|
|
public String Zhongliang
|
|
{
|
|
set
|
|
{
|
|
zhongliang = value;
|
|
}
|
|
get
|
|
{
|
|
return zhongliang;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置和得到序号
|
|
/// </summary>
|
|
public String Index {
|
|
set {
|
|
index = value;
|
|
}
|
|
get {
|
|
return index;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设置和得到代号
|
|
/// </summary>
|
|
public String CodeNo
|
|
{
|
|
set
|
|
{
|
|
codeNo = value;
|
|
}
|
|
get
|
|
{
|
|
return codeNo;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设置和得到名称
|
|
/// </summary>
|
|
public String Name
|
|
{
|
|
set
|
|
{
|
|
name = value;
|
|
}
|
|
get
|
|
{
|
|
return name;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设置和得到数量
|
|
/// </summary>
|
|
public String Quantity
|
|
{
|
|
set
|
|
{
|
|
quantity = value;
|
|
}
|
|
get
|
|
{
|
|
return quantity;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设置和得到材料
|
|
/// </summary>
|
|
public String Material
|
|
{
|
|
set
|
|
{
|
|
material = value;
|
|
}
|
|
get
|
|
{
|
|
return material;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设置和得到备注
|
|
/// </summary>
|
|
public String Note
|
|
{
|
|
set
|
|
{
|
|
note = value;
|
|
}
|
|
get
|
|
{
|
|
return note;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|