修改
This commit is contained in:
@@ -36,7 +36,7 @@ namespace U8AppMain.Bom
|
||||
}
|
||||
|
||||
[XmlElement(Type = typeof(ComponentRmkEnity))]
|
||||
public List<ComponentRmkEnity> ComponentRmks
|
||||
public List<ComponentRmkEnity> ComponentRmk
|
||||
{
|
||||
get
|
||||
{
|
||||
|
||||
@@ -6,6 +6,20 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace U8AppMain.Bom
|
||||
{
|
||||
|
||||
//<OpComponentId>10</OpComponentId>
|
||||
// <BomId>4</BomId>
|
||||
// <SortSeq>10</SortSeq>
|
||||
// <OpSeq>0000</OpSeq>
|
||||
// <InvCode>107001</InvCode>
|
||||
// <EffBegDate>2000-01-07T00:00:00+08:00</EffBegDate>
|
||||
// <EffEndDate>2099-12-31T00:00:00+08:00</EffEndDate>
|
||||
// <FVFlag>1</FVFlag>
|
||||
// <BaseQtyN>1.000000</BaseQtyN>
|
||||
// <BaseQtyD>1.000000</BaseQtyD>
|
||||
// <CompScrap>0.000</CompScrap>
|
||||
// <ByproductFlag>false</ByproductFlag>
|
||||
// <OptionsId>10</OptionsId>
|
||||
|
||||
public class ComponentEnity
|
||||
{
|
||||
@@ -14,16 +28,16 @@ namespace U8AppMain.Bom
|
||||
|
||||
|
||||
public string SortSeq { get; set; }
|
||||
public string OpSeq { get; set; }
|
||||
public string OpSeq { get; set; } = "000";
|
||||
|
||||
public string InvCode { get; set; }
|
||||
|
||||
public DateTime EffBegDate { get; set; }
|
||||
public DateTime EffBegDate { get; set; } = DateTime.Today;
|
||||
|
||||
|
||||
public DateTime EffEndDate { get; set; }
|
||||
public DateTime EffEndDate { get; set; } = DateTime.Now.AddYears(50);
|
||||
|
||||
public int FVFlag { get; set; }
|
||||
public int FVFlag { get; set; } = 1;
|
||||
|
||||
public decimal BaseQtyN { get; set; }
|
||||
|
||||
|
||||
@@ -12,12 +12,15 @@ namespace U8AppMain.Bom
|
||||
|
||||
public int OptionsId { get; set; }
|
||||
public int Offset { get; set; }
|
||||
public bool AccuCostFlag { get; set; }
|
||||
public string DrawDeptCode { get; set; }
|
||||
public string Whcode { get; set; }
|
||||
public bool OptionalFlag { get; set; }
|
||||
public int MutexRule { get; set; }
|
||||
public decimal PlanFactor { get; set; }
|
||||
|
||||
public bool AccuCostFlag { get; set; } = true;
|
||||
public string DrawDeptCode { get; set; } = "";
|
||||
public string Whcode { get; set; } = "";
|
||||
public bool OptionalFlag { get; set; } = false;
|
||||
public int MutexRule { get; set; } = 2;
|
||||
public decimal PlanFactor { get; set; } = 100;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@ namespace U8AppMain.Bom
|
||||
public class VersionEnity
|
||||
{
|
||||
public int BomId { get; set; } = 0;
|
||||
public string BomType { get; set; }
|
||||
public string BomType { get; set; } = "1";
|
||||
public int Version { get; set; }
|
||||
public String VersionDesc { get; set; }
|
||||
public string VersionDesc { get; set; }
|
||||
public DateTime VersionEffDate { get; set; } = DateTime.Now;
|
||||
|
||||
public int Status { get; set; }
|
||||
public int Status { get; set; } = 3;
|
||||
|
||||
//<BomType>1</BomType>
|
||||
// <Version>70</Version>
|
||||
|
||||
@@ -11,11 +11,11 @@ namespace U8AppMain.Bom
|
||||
|
||||
//sender="003" receiver="u8" roottag="Bom" docid="971742630" proc="add" codeexchanged="N" exportneedexch="N" paginate="0" display="物料清单" family="生产制造" timestamp="0x000000000027B6E6"
|
||||
[System.Xml.Serialization.XmlAttribute]
|
||||
public string Sender { get; set; } = "003";
|
||||
public string sender { get; set; } = "003";
|
||||
[System.Xml.Serialization.XmlAttribute]
|
||||
public string receiver { get; set; } = "U8";
|
||||
public string receiver { get; set; } = "u8";
|
||||
[System.Xml.Serialization.XmlAttribute]
|
||||
public string roottag { get; set; } = "BOM";
|
||||
public string roottag { get; set; } = "Bom";
|
||||
[System.Xml.Serialization.XmlAttribute]
|
||||
public string docid { get; set; } = "971742630";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user