多个BOM
This commit is contained in:
@@ -89,10 +89,18 @@ namespace U8AppMain
|
||||
//var bom = new Bom.ufinterface();
|
||||
//bom.Bom.ComponentBodies.Add(new Bom.ComponentBody());
|
||||
//bom.Bom.ComponentBodies.Add(new Bom.ComponentBody());
|
||||
var strbody = XmlHelper.XmlSerialize(bomLookup.Values.ToList()[0], Encoding.UTF8);
|
||||
//var response = await HttpHelper.Post("", strbody);
|
||||
this.textBox1.Text = strbody;
|
||||
MessageBox.Show(strbody);
|
||||
|
||||
|
||||
foreach (var item in bomLookup.Values)
|
||||
{
|
||||
|
||||
var strbody = XmlHelper.XmlSerialize(item, Encoding.UTF8);
|
||||
var response = await HttpHelper.Post("", strbody);
|
||||
this.textBox1.Text += response;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void BtnImportExcel_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user