DataSet1.cs
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:161k
源码类别:

企业管理

开发平台:

C#

  1.             }
  2.             
  3.             public void Set长Null() {
  4.                 this[this.table物料主文件.长Column] = System.Convert.DBNull;
  5.             }
  6.             
  7.             public bool Is宽Null() {
  8.                 return this.IsNull(this.table物料主文件.宽Column);
  9.             }
  10.             
  11.             public void Set宽Null() {
  12.                 this[this.table物料主文件.宽Column] = System.Convert.DBNull;
  13.             }
  14.             
  15.             public bool Is高Null() {
  16.                 return this.IsNull(this.table物料主文件.高Column);
  17.             }
  18.             
  19.             public void Set高Null() {
  20.                 this[this.table物料主文件.高Column] = System.Convert.DBNull;
  21.             }
  22.             
  23.             public bool Is净重Null() {
  24.                 return this.IsNull(this.table物料主文件.净重Column);
  25.             }
  26.             
  27.             public void Set净重Null() {
  28.                 this[this.table物料主文件.净重Column] = System.Convert.DBNull;
  29.             }
  30.             
  31.             public bool Is品牌Null() {
  32.                 return this.IsNull(this.table物料主文件.品牌Column);
  33.             }
  34.             
  35.             public void Set品牌Null() {
  36.                 this[this.table物料主文件.品牌Column] = System.Convert.DBNull;
  37.             }
  38.             
  39.             public bool Is颜色Null() {
  40.                 return this.IsNull(this.table物料主文件.颜色Column);
  41.             }
  42.             
  43.             public void Set颜色Null() {
  44.                 this[this.table物料主文件.颜色Column] = System.Convert.DBNull;
  45.             }
  46.             
  47.             public bool Is等级Null() {
  48.                 return this.IsNull(this.table物料主文件.等级Column);
  49.             }
  50.             
  51.             public void Set等级Null() {
  52.                 this[this.table物料主文件.等级Column] = System.Convert.DBNull;
  53.             }
  54.             
  55.             public bool Is进货提前期Null() {
  56.                 return this.IsNull(this.table物料主文件.进货提前期Column);
  57.             }
  58.             
  59.             public void Set进货提前期Null() {
  60.                 this[this.table物料主文件.进货提前期Column] = System.Convert.DBNull;
  61.             }
  62.             
  63.             public bool Is准备周期Null() {
  64.                 return this.IsNull(this.table物料主文件.准备周期Column);
  65.             }
  66.             
  67.             public void Set准备周期Null() {
  68.                 this[this.table物料主文件.准备周期Column] = System.Convert.DBNull;
  69.             }
  70.             
  71.             public bool Is生产周期Null() {
  72.                 return this.IsNull(this.table物料主文件.生产周期Column);
  73.             }
  74.             
  75.             public void Set生产周期Null() {
  76.                 this[this.table物料主文件.生产周期Column] = System.Convert.DBNull;
  77.             }
  78.             
  79.             public bool Is最小包装量Null() {
  80.                 return this.IsNull(this.table物料主文件.最小包装量Column);
  81.             }
  82.             
  83.             public void Set最小包装量Null() {
  84.                 this[this.table物料主文件.最小包装量Column] = System.Convert.DBNull;
  85.             }
  86.             
  87.             public bool Is最低销售量Null() {
  88.                 return this.IsNull(this.table物料主文件.最低销售量Column);
  89.             }
  90.             
  91.             public void Set最低销售量Null() {
  92.                 this[this.table物料主文件.最低销售量Column] = System.Convert.DBNull;
  93.             }
  94.             
  95.             public bool Is批量Null() {
  96.                 return this.IsNull(this.table物料主文件.批量Column);
  97.             }
  98.             
  99.             public void Set批量Null() {
  100.                 this[this.table物料主文件.批量Column] = System.Convert.DBNull;
  101.             }
  102.             
  103.             public bool Is最高库存Null() {
  104.                 return this.IsNull(this.table物料主文件.最高库存Column);
  105.             }
  106.             
  107.             public void Set最高库存Null() {
  108.                 this[this.table物料主文件.最高库存Column] = System.Convert.DBNull;
  109.             }
  110.             
  111.             public bool Is最低库存Null() {
  112.                 return this.IsNull(this.table物料主文件.最低库存Column);
  113.             }
  114.             
  115.             public void Set最低库存Null() {
  116.                 this[this.table物料主文件.最低库存Column] = System.Convert.DBNull;
  117.             }
  118.             
  119.             public bool Is库存期限Null() {
  120.                 return this.IsNull(this.table物料主文件.库存期限Column);
  121.             }
  122.             
  123.             public void Set库存期限Null() {
  124.                 this[this.table物料主文件.库存期限Column] = System.Convert.DBNull;
  125.             }
  126.             
  127.             public bool Is录入者Null() {
  128.                 return this.IsNull(this.table物料主文件.录入者Column);
  129.             }
  130.             
  131.             public void Set录入者Null() {
  132.                 this[this.table物料主文件.录入者Column] = System.Convert.DBNull;
  133.             }
  134.             
  135.             public bool Is录入日期Null() {
  136.                 return this.IsNull(this.table物料主文件.录入日期Column);
  137.             }
  138.             
  139.             public void Set录入日期Null() {
  140.                 this[this.table物料主文件.录入日期Column] = System.Convert.DBNull;
  141.             }
  142.             
  143.             public bool Is低层码Null() {
  144.                 return this.IsNull(this.table物料主文件.低层码Column);
  145.             }
  146.             
  147.             public void Set低层码Null() {
  148.                 this[this.table物料主文件.低层码Column] = System.Convert.DBNull;
  149.             }
  150.             
  151.             public bool Is指定供货商Null() {
  152.                 return this.IsNull(this.table物料主文件.指定供货商Column);
  153.             }
  154.             
  155.             public void Set指定供货商Null() {
  156.                 this[this.table物料主文件.指定供货商Column] = System.Convert.DBNull;
  157.             }
  158.             
  159.             public bool Is定货策略Null() {
  160.                 return this.IsNull(this.table物料主文件.定货策略Column);
  161.             }
  162.             
  163.             public void Set定货策略Null() {
  164.                 this[this.table物料主文件.定货策略Column] = System.Convert.DBNull;
  165.             }
  166.             
  167.             public bool Is生产车间Null() {
  168.                 return this.IsNull(this.table物料主文件.生产车间Column);
  169.             }
  170.             
  171.             public void Set生产车间Null() {
  172.                 this[this.table物料主文件.生产车间Column] = System.Convert.DBNull;
  173.             }
  174.         }
  175.         
  176.         [System.Diagnostics.DebuggerStepThrough()]
  177.         public class 物料主文件RowChangeEvent : EventArgs {
  178.             
  179.             private 物料主文件Row eventRow;
  180.             
  181.             private DataRowAction eventAction;
  182.             
  183.             public 物料主文件RowChangeEvent(物料主文件Row row, DataRowAction action) {
  184.                 this.eventRow = row;
  185.                 this.eventAction = action;
  186.             }
  187.             
  188.             public 物料主文件Row Row {
  189.                 get {
  190.                     return this.eventRow;
  191.                 }
  192.             }
  193.             
  194.             public DataRowAction Action {
  195.                 get {
  196.                     return this.eventAction;
  197.                 }
  198.             }
  199.         }
  200.         
  201.         [System.Diagnostics.DebuggerStepThrough()]
  202.         public class 主需求计划DataTable : DataTable, System.Collections.IEnumerable {
  203.             
  204.             private DataColumn column编号;
  205.             
  206.             private DataColumn column物料编号;
  207.             
  208.             private DataColumn column年份;
  209.             
  210.             private DataColumn column计划期;
  211.             
  212.             private DataColumn column开始日期;
  213.             
  214.             private DataColumn column结束日期;
  215.             
  216.             private DataColumn column需求数量;
  217.             
  218.             private DataColumn column记帐人;
  219.             
  220.             private DataColumn column修改日期;
  221.             
  222.             private DataColumn column状态;
  223.             
  224.             private DataColumn column备注;
  225.             
  226.             internal 主需求计划DataTable() : 
  227.                     base("主需求计划") {
  228.                 this.InitClass();
  229.             }
  230.             
  231.             internal 主需求计划DataTable(DataTable table) : 
  232.                     base(table.TableName) {
  233.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  234.                     this.CaseSensitive = table.CaseSensitive;
  235.                 }
  236.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  237.                     this.Locale = table.Locale;
  238.                 }
  239.                 if ((table.Namespace != table.DataSet.Namespace)) {
  240.                     this.Namespace = table.Namespace;
  241.                 }
  242.                 this.Prefix = table.Prefix;
  243.                 this.MinimumCapacity = table.MinimumCapacity;
  244.                 this.DisplayExpression = table.DisplayExpression;
  245.             }
  246.             
  247.             [System.ComponentModel.Browsable(false)]
  248.             public int Count {
  249.                 get {
  250.                     return this.Rows.Count;
  251.                 }
  252.             }
  253.             
  254.             internal DataColumn 编号Column {
  255.                 get {
  256.                     return this.column编号;
  257.                 }
  258.             }
  259.             
  260.             internal DataColumn 物料编号Column {
  261.                 get {
  262.                     return this.column物料编号;
  263.                 }
  264.             }
  265.             
  266.             internal DataColumn 年份Column {
  267.                 get {
  268.                     return this.column年份;
  269.                 }
  270.             }
  271.             
  272.             internal DataColumn 计划期Column {
  273.                 get {
  274.                     return this.column计划期;
  275.                 }
  276.             }
  277.             
  278.             internal DataColumn 开始日期Column {
  279.                 get {
  280.                     return this.column开始日期;
  281.                 }
  282.             }
  283.             
  284.             internal DataColumn 结束日期Column {
  285.                 get {
  286.                     return this.column结束日期;
  287.                 }
  288.             }
  289.             
  290.             internal DataColumn 需求数量Column {
  291.                 get {
  292.                     return this.column需求数量;
  293.                 }
  294.             }
  295.             
  296.             internal DataColumn 记帐人Column {
  297.                 get {
  298.                     return this.column记帐人;
  299.                 }
  300.             }
  301.             
  302.             internal DataColumn 修改日期Column {
  303.                 get {
  304.                     return this.column修改日期;
  305.                 }
  306.             }
  307.             
  308.             internal DataColumn 状态Column {
  309.                 get {
  310.                     return this.column状态;
  311.                 }
  312.             }
  313.             
  314.             internal DataColumn 备注Column {
  315.                 get {
  316.                     return this.column备注;
  317.                 }
  318.             }
  319.             
  320.             public 主需求计划Row this[int index] {
  321.                 get {
  322.                     return ((主需求计划Row)(this.Rows[index]));
  323.                 }
  324.             }
  325.             
  326.             public event 主需求计划RowChangeEventHandler 主需求计划RowChanged;
  327.             
  328.             public event 主需求计划RowChangeEventHandler 主需求计划RowChanging;
  329.             
  330.             public event 主需求计划RowChangeEventHandler 主需求计划RowDeleted;
  331.             
  332.             public event 主需求计划RowChangeEventHandler 主需求计划RowDeleting;
  333.             
  334.             public void Add主需求计划Row(主需求计划Row row) {
  335.                 this.Rows.Add(row);
  336.             }
  337.             
  338.             public 主需求计划Row Add主需求计划Row(string 编号, string 物料编号, int 年份, int 计划期, int 开始日期, int 结束日期, System.Decimal 需求数量, string 记帐人, int 修改日期, string 状态, string 备注) {
  339.                 主需求计划Row row主需求计划Row = ((主需求计划Row)(this.NewRow()));
  340.                 row主需求计划Row.ItemArray = new object[] {
  341.                         编号,
  342.                         物料编号,
  343.                         年份,
  344.                         计划期,
  345.                         开始日期,
  346.                         结束日期,
  347.                         需求数量,
  348.                         记帐人,
  349.                         修改日期,
  350.                         状态,
  351.                         备注};
  352.                 this.Rows.Add(row主需求计划Row);
  353.                 return row主需求计划Row;
  354.             }
  355.             
  356.             public 主需求计划Row FindBy物料编号年份计划期(string 物料编号, int 年份, int 计划期) {
  357.                 return ((主需求计划Row)(this.Rows.Find(new object[] {
  358.                             物料编号,
  359.                             年份,
  360.                             计划期})));
  361.             }
  362.             
  363.             public System.Collections.IEnumerator GetEnumerator() {
  364.                 return this.Rows.GetEnumerator();
  365.             }
  366.             
  367.             public override DataTable Clone() {
  368.                 主需求计划DataTable cln = ((主需求计划DataTable)(base.Clone()));
  369.                 cln.InitVars();
  370.                 return cln;
  371.             }
  372.             
  373.             protected override DataTable CreateInstance() {
  374.                 return new 主需求计划DataTable();
  375.             }
  376.             
  377.             internal void InitVars() {
  378.                 this.column编号 = this.Columns["编号"];
  379.                 this.column物料编号 = this.Columns["物料编号"];
  380.                 this.column年份 = this.Columns["年份"];
  381.                 this.column计划期 = this.Columns["计划期"];
  382.                 this.column开始日期 = this.Columns["开始日期"];
  383.                 this.column结束日期 = this.Columns["结束日期"];
  384.                 this.column需求数量 = this.Columns["需求数量"];
  385.                 this.column记帐人 = this.Columns["记帐人"];
  386.                 this.column修改日期 = this.Columns["修改日期"];
  387.                 this.column状态 = this.Columns["状态"];
  388.                 this.column备注 = this.Columns["备注"];
  389.             }
  390.             
  391.             private void InitClass() {
  392.                 this.column编号 = new DataColumn("编号", typeof(string), null, System.Data.MappingType.Element);
  393.                 this.Columns.Add(this.column编号);
  394.                 this.column物料编号 = new DataColumn("物料编号", typeof(string), null, System.Data.MappingType.Element);
  395.                 this.Columns.Add(this.column物料编号);
  396.                 this.column年份 = new DataColumn("年份", typeof(int), null, System.Data.MappingType.Element);
  397.                 this.Columns.Add(this.column年份);
  398.                 this.column计划期 = new DataColumn("计划期", typeof(int), null, System.Data.MappingType.Element);
  399.                 this.Columns.Add(this.column计划期);
  400.                 this.column开始日期 = new DataColumn("开始日期", typeof(int), null, System.Data.MappingType.Element);
  401.                 this.Columns.Add(this.column开始日期);
  402.                 this.column结束日期 = new DataColumn("结束日期", typeof(int), null, System.Data.MappingType.Element);
  403.                 this.Columns.Add(this.column结束日期);
  404.                 this.column需求数量 = new DataColumn("需求数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  405.                 this.Columns.Add(this.column需求数量);
  406.                 this.column记帐人 = new DataColumn("记帐人", typeof(string), null, System.Data.MappingType.Element);
  407.                 this.Columns.Add(this.column记帐人);
  408.                 this.column修改日期 = new DataColumn("修改日期", typeof(int), null, System.Data.MappingType.Element);
  409.                 this.Columns.Add(this.column修改日期);
  410.                 this.column状态 = new DataColumn("状态", typeof(string), null, System.Data.MappingType.Element);
  411.                 this.Columns.Add(this.column状态);
  412.                 this.column备注 = new DataColumn("备注", typeof(string), null, System.Data.MappingType.Element);
  413.                 this.Columns.Add(this.column备注);
  414.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  415.                                 this.column物料编号,
  416.                                 this.column年份,
  417.                                 this.column计划期}, true));
  418.                 this.column物料编号.AllowDBNull = false;
  419.                 this.column年份.AllowDBNull = false;
  420.                 this.column计划期.AllowDBNull = false;
  421.                 this.column需求数量.AllowDBNull = false;
  422.                 this.column状态.AllowDBNull = false;
  423.             }
  424.             
  425.             public 主需求计划Row New主需求计划Row() {
  426.                 return ((主需求计划Row)(this.NewRow()));
  427.             }
  428.             
  429.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  430.                 return new 主需求计划Row(builder);
  431.             }
  432.             
  433.             protected override System.Type GetRowType() {
  434.                 return typeof(主需求计划Row);
  435.             }
  436.             
  437.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  438.                 base.OnRowChanged(e);
  439.                 if ((this.主需求计划RowChanged != null)) {
  440.                     this.主需求计划RowChanged(this, new 主需求计划RowChangeEvent(((主需求计划Row)(e.Row)), e.Action));
  441.                 }
  442.             }
  443.             
  444.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  445.                 base.OnRowChanging(e);
  446.                 if ((this.主需求计划RowChanging != null)) {
  447.                     this.主需求计划RowChanging(this, new 主需求计划RowChangeEvent(((主需求计划Row)(e.Row)), e.Action));
  448.                 }
  449.             }
  450.             
  451.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  452.                 base.OnRowDeleted(e);
  453.                 if ((this.主需求计划RowDeleted != null)) {
  454.                     this.主需求计划RowDeleted(this, new 主需求计划RowChangeEvent(((主需求计划Row)(e.Row)), e.Action));
  455.                 }
  456.             }
  457.             
  458.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  459.                 base.OnRowDeleting(e);
  460.                 if ((this.主需求计划RowDeleting != null)) {
  461.                     this.主需求计划RowDeleting(this, new 主需求计划RowChangeEvent(((主需求计划Row)(e.Row)), e.Action));
  462.                 }
  463.             }
  464.             
  465.             public void Remove主需求计划Row(主需求计划Row row) {
  466.                 this.Rows.Remove(row);
  467.             }
  468.         }
  469.         
  470.         [System.Diagnostics.DebuggerStepThrough()]
  471.         public class 主需求计划Row : DataRow {
  472.             
  473.             private 主需求计划DataTable table主需求计划;
  474.             
  475.             internal 主需求计划Row(DataRowBuilder rb) : 
  476.                     base(rb) {
  477.                 this.table主需求计划 = ((主需求计划DataTable)(this.Table));
  478.             }
  479.             
  480.             public string 编号 {
  481.                 get {
  482.                     try {
  483.                         return ((string)(this[this.table主需求计划.编号Column]));
  484.                     }
  485.                     catch (InvalidCastException e) {
  486.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  487.                     }
  488.                 }
  489.                 set {
  490.                     this[this.table主需求计划.编号Column] = value;
  491.                 }
  492.             }
  493.             
  494.             public string 物料编号 {
  495.                 get {
  496.                     return ((string)(this[this.table主需求计划.物料编号Column]));
  497.                 }
  498.                 set {
  499.                     this[this.table主需求计划.物料编号Column] = value;
  500.                 }
  501.             }
  502.             
  503.             public int 年份 {
  504.                 get {
  505.                     return ((int)(this[this.table主需求计划.年份Column]));
  506.                 }
  507.                 set {
  508.                     this[this.table主需求计划.年份Column] = value;
  509.                 }
  510.             }
  511.             
  512.             public int 计划期 {
  513.                 get {
  514.                     return ((int)(this[this.table主需求计划.计划期Column]));
  515.                 }
  516.                 set {
  517.                     this[this.table主需求计划.计划期Column] = value;
  518.                 }
  519.             }
  520.             
  521.             public int 开始日期 {
  522.                 get {
  523.                     try {
  524.                         return ((int)(this[this.table主需求计划.开始日期Column]));
  525.                     }
  526.                     catch (InvalidCastException e) {
  527.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  528.                     }
  529.                 }
  530.                 set {
  531.                     this[this.table主需求计划.开始日期Column] = value;
  532.                 }
  533.             }
  534.             
  535.             public int 结束日期 {
  536.                 get {
  537.                     try {
  538.                         return ((int)(this[this.table主需求计划.结束日期Column]));
  539.                     }
  540.                     catch (InvalidCastException e) {
  541.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  542.                     }
  543.                 }
  544.                 set {
  545.                     this[this.table主需求计划.结束日期Column] = value;
  546.                 }
  547.             }
  548.             
  549.             public System.Decimal 需求数量 {
  550.                 get {
  551.                     return ((System.Decimal)(this[this.table主需求计划.需求数量Column]));
  552.                 }
  553.                 set {
  554.                     this[this.table主需求计划.需求数量Column] = value;
  555.                 }
  556.             }
  557.             
  558.             public string 记帐人 {
  559.                 get {
  560.                     try {
  561.                         return ((string)(this[this.table主需求计划.记帐人Column]));
  562.                     }
  563.                     catch (InvalidCastException e) {
  564.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  565.                     }
  566.                 }
  567.                 set {
  568.                     this[this.table主需求计划.记帐人Column] = value;
  569.                 }
  570.             }
  571.             
  572.             public int 修改日期 {
  573.                 get {
  574.                     try {
  575.                         return ((int)(this[this.table主需求计划.修改日期Column]));
  576.                     }
  577.                     catch (InvalidCastException e) {
  578.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  579.                     }
  580.                 }
  581.                 set {
  582.                     this[this.table主需求计划.修改日期Column] = value;
  583.                 }
  584.             }
  585.             
  586.             public string 状态 {
  587.                 get {
  588.                     return ((string)(this[this.table主需求计划.状态Column]));
  589.                 }
  590.                 set {
  591.                     this[this.table主需求计划.状态Column] = value;
  592.                 }
  593.             }
  594.             
  595.             public string 备注 {
  596.                 get {
  597.                     try {
  598.                         return ((string)(this[this.table主需求计划.备注Column]));
  599.                     }
  600.                     catch (InvalidCastException e) {
  601.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  602.                     }
  603.                 }
  604.                 set {
  605.                     this[this.table主需求计划.备注Column] = value;
  606.                 }
  607.             }
  608.             
  609.             public bool Is编号Null() {
  610.                 return this.IsNull(this.table主需求计划.编号Column);
  611.             }
  612.             
  613.             public void Set编号Null() {
  614.                 this[this.table主需求计划.编号Column] = System.Convert.DBNull;
  615.             }
  616.             
  617.             public bool Is开始日期Null() {
  618.                 return this.IsNull(this.table主需求计划.开始日期Column);
  619.             }
  620.             
  621.             public void Set开始日期Null() {
  622.                 this[this.table主需求计划.开始日期Column] = System.Convert.DBNull;
  623.             }
  624.             
  625.             public bool Is结束日期Null() {
  626.                 return this.IsNull(this.table主需求计划.结束日期Column);
  627.             }
  628.             
  629.             public void Set结束日期Null() {
  630.                 this[this.table主需求计划.结束日期Column] = System.Convert.DBNull;
  631.             }
  632.             
  633.             public bool Is记帐人Null() {
  634.                 return this.IsNull(this.table主需求计划.记帐人Column);
  635.             }
  636.             
  637.             public void Set记帐人Null() {
  638.                 this[this.table主需求计划.记帐人Column] = System.Convert.DBNull;
  639.             }
  640.             
  641.             public bool Is修改日期Null() {
  642.                 return this.IsNull(this.table主需求计划.修改日期Column);
  643.             }
  644.             
  645.             public void Set修改日期Null() {
  646.                 this[this.table主需求计划.修改日期Column] = System.Convert.DBNull;
  647.             }
  648.             
  649.             public bool Is备注Null() {
  650.                 return this.IsNull(this.table主需求计划.备注Column);
  651.             }
  652.             
  653.             public void Set备注Null() {
  654.                 this[this.table主需求计划.备注Column] = System.Convert.DBNull;
  655.             }
  656.         }
  657.         
  658.         [System.Diagnostics.DebuggerStepThrough()]
  659.         public class 主需求计划RowChangeEvent : EventArgs {
  660.             
  661.             private 主需求计划Row eventRow;
  662.             
  663.             private DataRowAction eventAction;
  664.             
  665.             public 主需求计划RowChangeEvent(主需求计划Row row, DataRowAction action) {
  666.                 this.eventRow = row;
  667.                 this.eventAction = action;
  668.             }
  669.             
  670.             public 主需求计划Row Row {
  671.                 get {
  672.                     return this.eventRow;
  673.                 }
  674.             }
  675.             
  676.             public DataRowAction Action {
  677.                 get {
  678.                     return this.eventAction;
  679.                 }
  680.             }
  681.         }
  682.         
  683.         [System.Diagnostics.DebuggerStepThrough()]
  684.         public class 主生产计划DataTable : DataTable, System.Collections.IEnumerable {
  685.             
  686.             private DataColumn column物料编号;
  687.             
  688.             private DataColumn column编号;
  689.             
  690.             private DataColumn column年份;
  691.             
  692.             private DataColumn column计划期;
  693.             
  694.             private DataColumn column开始日期;
  695.             
  696.             private DataColumn column结束日期;
  697.             
  698.             private DataColumn column期初库存;
  699.             
  700.             private DataColumn column需求数量;
  701.             
  702.             private DataColumn columnMPS数量;
  703.             
  704.             private DataColumn column生产单数量;
  705.             
  706.             private DataColumn column预计库存;
  707.             
  708.             private DataColumn column记帐人;
  709.             
  710.             private DataColumn column修改日期;
  711.             
  712.             private DataColumn column审核人;
  713.             
  714.             private DataColumn column审核日期;
  715.             
  716.             private DataColumn column状态;
  717.             
  718.             private DataColumn column备注;
  719.             
  720.             internal 主生产计划DataTable() : 
  721.                     base("主生产计划") {
  722.                 this.InitClass();
  723.             }
  724.             
  725.             internal 主生产计划DataTable(DataTable table) : 
  726.                     base(table.TableName) {
  727.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  728.                     this.CaseSensitive = table.CaseSensitive;
  729.                 }
  730.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  731.                     this.Locale = table.Locale;
  732.                 }
  733.                 if ((table.Namespace != table.DataSet.Namespace)) {
  734.                     this.Namespace = table.Namespace;
  735.                 }
  736.                 this.Prefix = table.Prefix;
  737.                 this.MinimumCapacity = table.MinimumCapacity;
  738.                 this.DisplayExpression = table.DisplayExpression;
  739.             }
  740.             
  741.             [System.ComponentModel.Browsable(false)]
  742.             public int Count {
  743.                 get {
  744.                     return this.Rows.Count;
  745.                 }
  746.             }
  747.             
  748.             internal DataColumn 物料编号Column {
  749.                 get {
  750.                     return this.column物料编号;
  751.                 }
  752.             }
  753.             
  754.             internal DataColumn 编号Column {
  755.                 get {
  756.                     return this.column编号;
  757.                 }
  758.             }
  759.             
  760.             internal DataColumn 年份Column {
  761.                 get {
  762.                     return this.column年份;
  763.                 }
  764.             }
  765.             
  766.             internal DataColumn 计划期Column {
  767.                 get {
  768.                     return this.column计划期;
  769.                 }
  770.             }
  771.             
  772.             internal DataColumn 开始日期Column {
  773.                 get {
  774.                     return this.column开始日期;
  775.                 }
  776.             }
  777.             
  778.             internal DataColumn 结束日期Column {
  779.                 get {
  780.                     return this.column结束日期;
  781.                 }
  782.             }
  783.             
  784.             internal DataColumn 期初库存Column {
  785.                 get {
  786.                     return this.column期初库存;
  787.                 }
  788.             }
  789.             
  790.             internal DataColumn 需求数量Column {
  791.                 get {
  792.                     return this.column需求数量;
  793.                 }
  794.             }
  795.             
  796.             internal DataColumn MPS数量Column {
  797.                 get {
  798.                     return this.columnMPS数量;
  799.                 }
  800.             }
  801.             
  802.             internal DataColumn 生产单数量Column {
  803.                 get {
  804.                     return this.column生产单数量;
  805.                 }
  806.             }
  807.             
  808.             internal DataColumn 预计库存Column {
  809.                 get {
  810.                     return this.column预计库存;
  811.                 }
  812.             }
  813.             
  814.             internal DataColumn 记帐人Column {
  815.                 get {
  816.                     return this.column记帐人;
  817.                 }
  818.             }
  819.             
  820.             internal DataColumn 修改日期Column {
  821.                 get {
  822.                     return this.column修改日期;
  823.                 }
  824.             }
  825.             
  826.             internal DataColumn 审核人Column {
  827.                 get {
  828.                     return this.column审核人;
  829.                 }
  830.             }
  831.             
  832.             internal DataColumn 审核日期Column {
  833.                 get {
  834.                     return this.column审核日期;
  835.                 }
  836.             }
  837.             
  838.             internal DataColumn 状态Column {
  839.                 get {
  840.                     return this.column状态;
  841.                 }
  842.             }
  843.             
  844.             internal DataColumn 备注Column {
  845.                 get {
  846.                     return this.column备注;
  847.                 }
  848.             }
  849.             
  850.             public 主生产计划Row this[int index] {
  851.                 get {
  852.                     return ((主生产计划Row)(this.Rows[index]));
  853.                 }
  854.             }
  855.             
  856.             public event 主生产计划RowChangeEventHandler 主生产计划RowChanged;
  857.             
  858.             public event 主生产计划RowChangeEventHandler 主生产计划RowChanging;
  859.             
  860.             public event 主生产计划RowChangeEventHandler 主生产计划RowDeleted;
  861.             
  862.             public event 主生产计划RowChangeEventHandler 主生产计划RowDeleting;
  863.             
  864.             public void Add主生产计划Row(主生产计划Row row) {
  865.                 this.Rows.Add(row);
  866.             }
  867.             
  868.             public 主生产计划Row Add主生产计划Row(
  869.                         string 物料编号, 
  870.                         string 编号, 
  871.                         int 年份, 
  872.                         int 计划期, 
  873.                         int 开始日期, 
  874.                         int 结束日期, 
  875.                         System.Decimal 期初库存, 
  876.                         System.Decimal 需求数量, 
  877.                         System.Decimal MPS数量, 
  878.                         System.Decimal 生产单数量, 
  879.                         System.Decimal 预计库存, 
  880.                         string 记帐人, 
  881.                         int 修改日期, 
  882.                         string 审核人, 
  883.                         int 审核日期, 
  884.                         string 状态, 
  885.                         string 备注) {
  886.                 主生产计划Row row主生产计划Row = ((主生产计划Row)(this.NewRow()));
  887.                 row主生产计划Row.ItemArray = new object[] {
  888.                         物料编号,
  889.                         编号,
  890.                         年份,
  891.                         计划期,
  892.                         开始日期,
  893.                         结束日期,
  894.                         期初库存,
  895.                         需求数量,
  896.                         MPS数量,
  897.                         生产单数量,
  898.                         预计库存,
  899.                         记帐人,
  900.                         修改日期,
  901.                         审核人,
  902.                         审核日期,
  903.                         状态,
  904.                         备注};
  905.                 this.Rows.Add(row主生产计划Row);
  906.                 return row主生产计划Row;
  907.             }
  908.             
  909.             public 主生产计划Row FindBy物料编号年份计划期(string 物料编号, int 年份, int 计划期) {
  910.                 return ((主生产计划Row)(this.Rows.Find(new object[] {
  911.                             物料编号,
  912.                             年份,
  913.                             计划期})));
  914.             }
  915.             
  916.             public System.Collections.IEnumerator GetEnumerator() {
  917.                 return this.Rows.GetEnumerator();
  918.             }
  919.             
  920.             public override DataTable Clone() {
  921.                 主生产计划DataTable cln = ((主生产计划DataTable)(base.Clone()));
  922.                 cln.InitVars();
  923.                 return cln;
  924.             }
  925.             
  926.             protected override DataTable CreateInstance() {
  927.                 return new 主生产计划DataTable();
  928.             }
  929.             
  930.             internal void InitVars() {
  931.                 this.column物料编号 = this.Columns["物料编号"];
  932.                 this.column编号 = this.Columns["编号"];
  933.                 this.column年份 = this.Columns["年份"];
  934.                 this.column计划期 = this.Columns["计划期"];
  935.                 this.column开始日期 = this.Columns["开始日期"];
  936.                 this.column结束日期 = this.Columns["结束日期"];
  937.                 this.column期初库存 = this.Columns["期初库存"];
  938.                 this.column需求数量 = this.Columns["需求数量"];
  939.                 this.columnMPS数量 = this.Columns["MPS数量"];
  940.                 this.column生产单数量 = this.Columns["生产单数量"];
  941.                 this.column预计库存 = this.Columns["预计库存"];
  942.                 this.column记帐人 = this.Columns["记帐人"];
  943.                 this.column修改日期 = this.Columns["修改日期"];
  944.                 this.column审核人 = this.Columns["审核人"];
  945.                 this.column审核日期 = this.Columns["审核日期"];
  946.                 this.column状态 = this.Columns["状态"];
  947.                 this.column备注 = this.Columns["备注"];
  948.             }
  949.             
  950.             private void InitClass() {
  951.                 this.column物料编号 = new DataColumn("物料编号", typeof(string), null, System.Data.MappingType.Element);
  952.                 this.Columns.Add(this.column物料编号);
  953.                 this.column编号 = new DataColumn("编号", typeof(string), null, System.Data.MappingType.Element);
  954.                 this.Columns.Add(this.column编号);
  955.                 this.column年份 = new DataColumn("年份", typeof(int), null, System.Data.MappingType.Element);
  956.                 this.Columns.Add(this.column年份);
  957.                 this.column计划期 = new DataColumn("计划期", typeof(int), null, System.Data.MappingType.Element);
  958.                 this.Columns.Add(this.column计划期);
  959.                 this.column开始日期 = new DataColumn("开始日期", typeof(int), null, System.Data.MappingType.Element);
  960.                 this.Columns.Add(this.column开始日期);
  961.                 this.column结束日期 = new DataColumn("结束日期", typeof(int), null, System.Data.MappingType.Element);
  962.                 this.Columns.Add(this.column结束日期);
  963.                 this.column期初库存 = new DataColumn("期初库存", typeof(System.Decimal), null, System.Data.MappingType.Element);
  964.                 this.Columns.Add(this.column期初库存);
  965.                 this.column需求数量 = new DataColumn("需求数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  966.                 this.Columns.Add(this.column需求数量);
  967.                 this.columnMPS数量 = new DataColumn("MPS数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  968.                 this.Columns.Add(this.columnMPS数量);
  969.                 this.column生产单数量 = new DataColumn("生产单数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  970.                 this.Columns.Add(this.column生产单数量);
  971.                 this.column预计库存 = new DataColumn("预计库存", typeof(System.Decimal), null, System.Data.MappingType.Element);
  972.                 this.Columns.Add(this.column预计库存);
  973.                 this.column记帐人 = new DataColumn("记帐人", typeof(string), null, System.Data.MappingType.Element);
  974.                 this.Columns.Add(this.column记帐人);
  975.                 this.column修改日期 = new DataColumn("修改日期", typeof(int), null, System.Data.MappingType.Element);
  976.                 this.Columns.Add(this.column修改日期);
  977.                 this.column审核人 = new DataColumn("审核人", typeof(string), null, System.Data.MappingType.Element);
  978.                 this.Columns.Add(this.column审核人);
  979.                 this.column审核日期 = new DataColumn("审核日期", typeof(int), null, System.Data.MappingType.Element);
  980.                 this.Columns.Add(this.column审核日期);
  981.                 this.column状态 = new DataColumn("状态", typeof(string), null, System.Data.MappingType.Element);
  982.                 this.Columns.Add(this.column状态);
  983.                 this.column备注 = new DataColumn("备注", typeof(string), null, System.Data.MappingType.Element);
  984.                 this.Columns.Add(this.column备注);
  985.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  986.                                 this.column物料编号,
  987.                                 this.column年份,
  988.                                 this.column计划期}, true));
  989.                 this.column物料编号.AllowDBNull = false;
  990.                 this.column年份.AllowDBNull = false;
  991.                 this.column计划期.AllowDBNull = false;
  992.                 this.columnMPS数量.AllowDBNull = false;
  993.                 this.column状态.AllowDBNull = false;
  994.             }
  995.             
  996.             public 主生产计划Row New主生产计划Row() {
  997.                 return ((主生产计划Row)(this.NewRow()));
  998.             }
  999.             
  1000.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1001.                 return new 主生产计划Row(builder);
  1002.             }
  1003.             
  1004.             protected override System.Type GetRowType() {
  1005.                 return typeof(主生产计划Row);
  1006.             }
  1007.             
  1008.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1009.                 base.OnRowChanged(e);
  1010.                 if ((this.主生产计划RowChanged != null)) {
  1011.                     this.主生产计划RowChanged(this, new 主生产计划RowChangeEvent(((主生产计划Row)(e.Row)), e.Action));
  1012.                 }
  1013.             }
  1014.             
  1015.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1016.                 base.OnRowChanging(e);
  1017.                 if ((this.主生产计划RowChanging != null)) {
  1018.                     this.主生产计划RowChanging(this, new 主生产计划RowChangeEvent(((主生产计划Row)(e.Row)), e.Action));
  1019.                 }
  1020.             }
  1021.             
  1022.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1023.                 base.OnRowDeleted(e);
  1024.                 if ((this.主生产计划RowDeleted != null)) {
  1025.                     this.主生产计划RowDeleted(this, new 主生产计划RowChangeEvent(((主生产计划Row)(e.Row)), e.Action));
  1026.                 }
  1027.             }
  1028.             
  1029.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1030.                 base.OnRowDeleting(e);
  1031.                 if ((this.主生产计划RowDeleting != null)) {
  1032.                     this.主生产计划RowDeleting(this, new 主生产计划RowChangeEvent(((主生产计划Row)(e.Row)), e.Action));
  1033.                 }
  1034.             }
  1035.             
  1036.             public void Remove主生产计划Row(主生产计划Row row) {
  1037.                 this.Rows.Remove(row);
  1038.             }
  1039.         }
  1040.         
  1041.         [System.Diagnostics.DebuggerStepThrough()]
  1042.         public class 主生产计划Row : DataRow {
  1043.             
  1044.             private 主生产计划DataTable table主生产计划;
  1045.             
  1046.             internal 主生产计划Row(DataRowBuilder rb) : 
  1047.                     base(rb) {
  1048.                 this.table主生产计划 = ((主生产计划DataTable)(this.Table));
  1049.             }
  1050.             
  1051.             public string 物料编号 {
  1052.                 get {
  1053.                     return ((string)(this[this.table主生产计划.物料编号Column]));
  1054.                 }
  1055.                 set {
  1056.                     this[this.table主生产计划.物料编号Column] = value;
  1057.                 }
  1058.             }
  1059.             
  1060.             public string 编号 {
  1061.                 get {
  1062.                     try {
  1063.                         return ((string)(this[this.table主生产计划.编号Column]));
  1064.                     }
  1065.                     catch (InvalidCastException e) {
  1066.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1067.                     }
  1068.                 }
  1069.                 set {
  1070.                     this[this.table主生产计划.编号Column] = value;
  1071.                 }
  1072.             }
  1073.             
  1074.             public int 年份 {
  1075.                 get {
  1076.                     return ((int)(this[this.table主生产计划.年份Column]));
  1077.                 }
  1078.                 set {
  1079.                     this[this.table主生产计划.年份Column] = value;
  1080.                 }
  1081.             }
  1082.             
  1083.             public int 计划期 {
  1084.                 get {
  1085.                     return ((int)(this[this.table主生产计划.计划期Column]));
  1086.                 }
  1087.                 set {
  1088.                     this[this.table主生产计划.计划期Column] = value;
  1089.                 }
  1090.             }
  1091.             
  1092.             public int 开始日期 {
  1093.                 get {
  1094.                     try {
  1095.                         return ((int)(this[this.table主生产计划.开始日期Column]));
  1096.                     }
  1097.                     catch (InvalidCastException e) {
  1098.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1099.                     }
  1100.                 }
  1101.                 set {
  1102.                     this[this.table主生产计划.开始日期Column] = value;
  1103.                 }
  1104.             }
  1105.             
  1106.             public int 结束日期 {
  1107.                 get {
  1108.                     try {
  1109.                         return ((int)(this[this.table主生产计划.结束日期Column]));
  1110.                     }
  1111.                     catch (InvalidCastException e) {
  1112.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1113.                     }
  1114.                 }
  1115.                 set {
  1116.                     this[this.table主生产计划.结束日期Column] = value;
  1117.                 }
  1118.             }
  1119.             
  1120.             public System.Decimal 期初库存 {
  1121.                 get {
  1122.                     try {
  1123.                         return ((System.Decimal)(this[this.table主生产计划.期初库存Column]));
  1124.                     }
  1125.                     catch (InvalidCastException e) {
  1126.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1127.                     }
  1128.                 }
  1129.                 set {
  1130.                     this[this.table主生产计划.期初库存Column] = value;
  1131.                 }
  1132.             }
  1133.             
  1134.             public System.Decimal 需求数量 {
  1135.                 get {
  1136.                     try {
  1137.                         return ((System.Decimal)(this[this.table主生产计划.需求数量Column]));
  1138.                     }
  1139.                     catch (InvalidCastException e) {
  1140.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1141.                     }
  1142.                 }
  1143.                 set {
  1144.                     this[this.table主生产计划.需求数量Column] = value;
  1145.                 }
  1146.             }
  1147.             
  1148.             public System.Decimal MPS数量 {
  1149.                 get {
  1150.                     return ((System.Decimal)(this[this.table主生产计划.MPS数量Column]));
  1151.                 }
  1152.                 set {
  1153.                     this[this.table主生产计划.MPS数量Column] = value;
  1154.                 }
  1155.             }
  1156.             
  1157.             public System.Decimal 生产单数量 {
  1158.                 get {
  1159.                     try {
  1160.                         return ((System.Decimal)(this[this.table主生产计划.生产单数量Column]));
  1161.                     }
  1162.                     catch (InvalidCastException e) {
  1163.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1164.                     }
  1165.                 }
  1166.                 set {
  1167.                     this[this.table主生产计划.生产单数量Column] = value;
  1168.                 }
  1169.             }
  1170.             
  1171.             public System.Decimal 预计库存 {
  1172.                 get {
  1173.                     try {
  1174.                         return ((System.Decimal)(this[this.table主生产计划.预计库存Column]));
  1175.                     }
  1176.                     catch (InvalidCastException e) {
  1177.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1178.                     }
  1179.                 }
  1180.                 set {
  1181.                     this[this.table主生产计划.预计库存Column] = value;
  1182.                 }
  1183.             }
  1184.             
  1185.             public string 记帐人 {
  1186.                 get {
  1187.                     try {
  1188.                         return ((string)(this[this.table主生产计划.记帐人Column]));
  1189.                     }
  1190.                     catch (InvalidCastException e) {
  1191.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1192.                     }
  1193.                 }
  1194.                 set {
  1195.                     this[this.table主生产计划.记帐人Column] = value;
  1196.                 }
  1197.             }
  1198.             
  1199.             public int 修改日期 {
  1200.                 get {
  1201.                     try {
  1202.                         return ((int)(this[this.table主生产计划.修改日期Column]));
  1203.                     }
  1204.                     catch (InvalidCastException e) {
  1205.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1206.                     }
  1207.                 }
  1208.                 set {
  1209.                     this[this.table主生产计划.修改日期Column] = value;
  1210.                 }
  1211.             }
  1212.             
  1213.             public string 审核人 {
  1214.                 get {
  1215.                     try {
  1216.                         return ((string)(this[this.table主生产计划.审核人Column]));
  1217.                     }
  1218.                     catch (InvalidCastException e) {
  1219.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1220.                     }
  1221.                 }
  1222.                 set {
  1223.                     this[this.table主生产计划.审核人Column] = value;
  1224.                 }
  1225.             }
  1226.             
  1227.             public int 审核日期 {
  1228.                 get {
  1229.                     try {
  1230.                         return ((int)(this[this.table主生产计划.审核日期Column]));
  1231.                     }
  1232.                     catch (InvalidCastException e) {
  1233.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1234.                     }
  1235.                 }
  1236.                 set {
  1237.                     this[this.table主生产计划.审核日期Column] = value;
  1238.                 }
  1239.             }
  1240.             
  1241.             public string 状态 {
  1242.                 get {
  1243.                     return ((string)(this[this.table主生产计划.状态Column]));
  1244.                 }
  1245.                 set {
  1246.                     this[this.table主生产计划.状态Column] = value;
  1247.                 }
  1248.             }
  1249.             
  1250.             public string 备注 {
  1251.                 get {
  1252.                     try {
  1253.                         return ((string)(this[this.table主生产计划.备注Column]));
  1254.                     }
  1255.                     catch (InvalidCastException e) {
  1256.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1257.                     }
  1258.                 }
  1259.                 set {
  1260.                     this[this.table主生产计划.备注Column] = value;
  1261.                 }
  1262.             }
  1263.             
  1264.             public bool Is编号Null() {
  1265.                 return this.IsNull(this.table主生产计划.编号Column);
  1266.             }
  1267.             
  1268.             public void Set编号Null() {
  1269.                 this[this.table主生产计划.编号Column] = System.Convert.DBNull;
  1270.             }
  1271.             
  1272.             public bool Is开始日期Null() {
  1273.                 return this.IsNull(this.table主生产计划.开始日期Column);
  1274.             }
  1275.             
  1276.             public void Set开始日期Null() {
  1277.                 this[this.table主生产计划.开始日期Column] = System.Convert.DBNull;
  1278.             }
  1279.             
  1280.             public bool Is结束日期Null() {
  1281.                 return this.IsNull(this.table主生产计划.结束日期Column);
  1282.             }
  1283.             
  1284.             public void Set结束日期Null() {
  1285.                 this[this.table主生产计划.结束日期Column] = System.Convert.DBNull;
  1286.             }
  1287.             
  1288.             public bool Is期初库存Null() {
  1289.                 return this.IsNull(this.table主生产计划.期初库存Column);
  1290.             }
  1291.             
  1292.             public void Set期初库存Null() {
  1293.                 this[this.table主生产计划.期初库存Column] = System.Convert.DBNull;
  1294.             }
  1295.             
  1296.             public bool Is需求数量Null() {
  1297.                 return this.IsNull(this.table主生产计划.需求数量Column);
  1298.             }
  1299.             
  1300.             public void Set需求数量Null() {
  1301.                 this[this.table主生产计划.需求数量Column] = System.Convert.DBNull;
  1302.             }
  1303.             
  1304.             public bool Is生产单数量Null() {
  1305.                 return this.IsNull(this.table主生产计划.生产单数量Column);
  1306.             }
  1307.             
  1308.             public void Set生产单数量Null() {
  1309.                 this[this.table主生产计划.生产单数量Column] = System.Convert.DBNull;
  1310.             }
  1311.             
  1312.             public bool Is预计库存Null() {
  1313.                 return this.IsNull(this.table主生产计划.预计库存Column);
  1314.             }
  1315.             
  1316.             public void Set预计库存Null() {
  1317.                 this[this.table主生产计划.预计库存Column] = System.Convert.DBNull;
  1318.             }
  1319.             
  1320.             public bool Is记帐人Null() {
  1321.                 return this.IsNull(this.table主生产计划.记帐人Column);
  1322.             }
  1323.             
  1324.             public void Set记帐人Null() {
  1325.                 this[this.table主生产计划.记帐人Column] = System.Convert.DBNull;
  1326.             }
  1327.             
  1328.             public bool Is修改日期Null() {
  1329.                 return this.IsNull(this.table主生产计划.修改日期Column);
  1330.             }
  1331.             
  1332.             public void Set修改日期Null() {
  1333.                 this[this.table主生产计划.修改日期Column] = System.Convert.DBNull;
  1334.             }
  1335.             
  1336.             public bool Is审核人Null() {
  1337.                 return this.IsNull(this.table主生产计划.审核人Column);
  1338.             }
  1339.             
  1340.             public void Set审核人Null() {
  1341.                 this[this.table主生产计划.审核人Column] = System.Convert.DBNull;
  1342.             }
  1343.             
  1344.             public bool Is审核日期Null() {
  1345.                 return this.IsNull(this.table主生产计划.审核日期Column);
  1346.             }
  1347.             
  1348.             public void Set审核日期Null() {
  1349.                 this[this.table主生产计划.审核日期Column] = System.Convert.DBNull;
  1350.             }
  1351.             
  1352.             public bool Is备注Null() {
  1353.                 return this.IsNull(this.table主生产计划.备注Column);
  1354.             }
  1355.             
  1356.             public void Set备注Null() {
  1357.                 this[this.table主生产计划.备注Column] = System.Convert.DBNull;
  1358.             }
  1359.         }
  1360.         
  1361.         [System.Diagnostics.DebuggerStepThrough()]
  1362.         public class 主生产计划RowChangeEvent : EventArgs {
  1363.             
  1364.             private 主生产计划Row eventRow;
  1365.             
  1366.             private DataRowAction eventAction;
  1367.             
  1368.             public 主生产计划RowChangeEvent(主生产计划Row row, DataRowAction action) {
  1369.                 this.eventRow = row;
  1370.                 this.eventAction = action;
  1371.             }
  1372.             
  1373.             public 主生产计划Row Row {
  1374.                 get {
  1375.                     return this.eventRow;
  1376.                 }
  1377.             }
  1378.             
  1379.             public DataRowAction Action {
  1380.                 get {
  1381.                     return this.eventAction;
  1382.                 }
  1383.             }
  1384.         }
  1385.         
  1386.         [System.Diagnostics.DebuggerStepThrough()]
  1387.         public class 物料清单DataTable : DataTable, System.Collections.IEnumerable {
  1388.             
  1389.             private DataColumn column父项编号;
  1390.             
  1391.             private DataColumn column物料编号;
  1392.             
  1393.             private DataColumn column需要数量;
  1394.             
  1395.             private DataColumn column领料车间;
  1396.             
  1397.             private DataColumn column领料库房;
  1398.             
  1399.             private DataColumn column损耗率;
  1400.             
  1401.             private DataColumn columnbom状态;
  1402.             
  1403.             private DataColumn columnbom信息状态;
  1404.             
  1405.             private DataColumn column审核者;
  1406.             
  1407.             private DataColumn column审核日期;
  1408.             
  1409.             private DataColumn column其它事项;
  1410.             
  1411.             private DataColumn column低层码;
  1412.             
  1413.             private DataColumn column展开标记;
  1414.             
  1415.             internal 物料清单DataTable() : 
  1416.                     base("物料清单") {
  1417.                 this.InitClass();
  1418.             }
  1419.             
  1420.             internal 物料清单DataTable(DataTable table) : 
  1421.                     base(table.TableName) {
  1422.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1423.                     this.CaseSensitive = table.CaseSensitive;
  1424.                 }
  1425.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1426.                     this.Locale = table.Locale;
  1427.                 }
  1428.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1429.                     this.Namespace = table.Namespace;
  1430.                 }
  1431.                 this.Prefix = table.Prefix;
  1432.                 this.MinimumCapacity = table.MinimumCapacity;
  1433.                 this.DisplayExpression = table.DisplayExpression;
  1434.             }
  1435.             
  1436.             [System.ComponentModel.Browsable(false)]
  1437.             public int Count {
  1438.                 get {
  1439.                     return this.Rows.Count;
  1440.                 }
  1441.             }
  1442.             
  1443.             internal DataColumn 父项编号Column {
  1444.                 get {
  1445.                     return this.column父项编号;
  1446.                 }
  1447.             }
  1448.             
  1449.             internal DataColumn 物料编号Column {
  1450.                 get {
  1451.                     return this.column物料编号;
  1452.                 }
  1453.             }
  1454.             
  1455.             internal DataColumn 需要数量Column {
  1456.                 get {
  1457.                     return this.column需要数量;
  1458.                 }
  1459.             }
  1460.             
  1461.             internal DataColumn 领料车间Column {
  1462.                 get {
  1463.                     return this.column领料车间;
  1464.                 }
  1465.             }
  1466.             
  1467.             internal DataColumn 领料库房Column {
  1468.                 get {
  1469.                     return this.column领料库房;
  1470.                 }
  1471.             }
  1472.             
  1473.             internal DataColumn 损耗率Column {
  1474.                 get {
  1475.                     return this.column损耗率;
  1476.                 }
  1477.             }
  1478.             
  1479.             internal DataColumn bom状态Column {
  1480.                 get {
  1481.                     return this.columnbom状态;
  1482.                 }
  1483.             }
  1484.             
  1485.             internal DataColumn bom信息状态Column {
  1486.                 get {
  1487.                     return this.columnbom信息状态;
  1488.                 }
  1489.             }
  1490.             
  1491.             internal DataColumn 审核者Column {
  1492.                 get {
  1493.                     return this.column审核者;
  1494.                 }
  1495.             }
  1496.             
  1497.             internal DataColumn 审核日期Column {
  1498.                 get {
  1499.                     return this.column审核日期;
  1500.                 }
  1501.             }
  1502.             
  1503.             internal DataColumn 其它事项Column {
  1504.                 get {
  1505.                     return this.column其它事项;
  1506.                 }
  1507.             }
  1508.             
  1509.             internal DataColumn 低层码Column {
  1510.                 get {
  1511.                     return this.column低层码;
  1512.                 }
  1513.             }
  1514.             
  1515.             internal DataColumn 展开标记Column {
  1516.                 get {
  1517.                     return this.column展开标记;
  1518.                 }
  1519.             }
  1520.             
  1521.             public 物料清单Row this[int index] {
  1522.                 get {
  1523.                     return ((物料清单Row)(this.Rows[index]));
  1524.                 }
  1525.             }
  1526.             
  1527.             public event 物料清单RowChangeEventHandler 物料清单RowChanged;
  1528.             
  1529.             public event 物料清单RowChangeEventHandler 物料清单RowChanging;
  1530.             
  1531.             public event 物料清单RowChangeEventHandler 物料清单RowDeleted;
  1532.             
  1533.             public event 物料清单RowChangeEventHandler 物料清单RowDeleting;
  1534.             
  1535.             public void Add物料清单Row(物料清单Row row) {
  1536.                 this.Rows.Add(row);
  1537.             }
  1538.             
  1539.             public 物料清单Row Add物料清单Row(string 父项编号, string 物料编号, System.Decimal 需要数量, string 领料车间, string 领料库房, System.Decimal 损耗率, string bom状态, string bom信息状态, string 审核者, int 审核日期, string 其它事项, int 低层码, bool 展开标记) {
  1540.                 物料清单Row row物料清单Row = ((物料清单Row)(this.NewRow()));
  1541.                 row物料清单Row.ItemArray = new object[] {
  1542.                         父项编号,
  1543.                         物料编号,
  1544.                         需要数量,
  1545.                         领料车间,
  1546.                         领料库房,
  1547.                         损耗率,
  1548.                         bom状态,
  1549.                         bom信息状态,
  1550.                         审核者,
  1551.                         审核日期,
  1552.                         其它事项,
  1553.                         低层码,
  1554.                         展开标记};
  1555.                 this.Rows.Add(row物料清单Row);
  1556.                 return row物料清单Row;
  1557.             }
  1558.             
  1559.             public 物料清单Row FindBy父项编号物料编号(string 父项编号, string 物料编号) {
  1560.                 return ((物料清单Row)(this.Rows.Find(new object[] {
  1561.                             父项编号,
  1562.                             物料编号})));
  1563.             }
  1564.             
  1565.             public System.Collections.IEnumerator GetEnumerator() {
  1566.                 return this.Rows.GetEnumerator();
  1567.             }
  1568.             
  1569.             public override DataTable Clone() {
  1570.                 物料清单DataTable cln = ((物料清单DataTable)(base.Clone()));
  1571.                 cln.InitVars();
  1572.                 return cln;
  1573.             }
  1574.             
  1575.             protected override DataTable CreateInstance() {
  1576.                 return new 物料清单DataTable();
  1577.             }
  1578.             
  1579.             internal void InitVars() {
  1580.                 this.column父项编号 = this.Columns["父项编号"];
  1581.                 this.column物料编号 = this.Columns["物料编号"];
  1582.                 this.column需要数量 = this.Columns["需要数量"];
  1583.                 this.column领料车间 = this.Columns["领料车间"];
  1584.                 this.column领料库房 = this.Columns["领料库房"];
  1585.                 this.column损耗率 = this.Columns["损耗率"];
  1586.                 this.columnbom状态 = this.Columns["bom状态"];
  1587.                 this.columnbom信息状态 = this.Columns["bom信息状态"];
  1588.                 this.column审核者 = this.Columns["审核者"];
  1589.                 this.column审核日期 = this.Columns["审核日期"];
  1590.                 this.column其它事项 = this.Columns["其它事项"];
  1591.                 this.column低层码 = this.Columns["低层码"];
  1592.                 this.column展开标记 = this.Columns["展开标记"];
  1593.             }
  1594.             
  1595.             private void InitClass() {
  1596.                 this.column父项编号 = new DataColumn("父项编号", typeof(string), null, System.Data.MappingType.Element);
  1597.                 this.Columns.Add(this.column父项编号);
  1598.                 this.column物料编号 = new DataColumn("物料编号", typeof(string), null, System.Data.MappingType.Element);
  1599.                 this.Columns.Add(this.column物料编号);
  1600.                 this.column需要数量 = new DataColumn("需要数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1601.                 this.Columns.Add(this.column需要数量);
  1602.                 this.column领料车间 = new DataColumn("领料车间", typeof(string), null, System.Data.MappingType.Element);
  1603.                 this.Columns.Add(this.column领料车间);
  1604.                 this.column领料库房 = new DataColumn("领料库房", typeof(string), null, System.Data.MappingType.Element);
  1605.                 this.Columns.Add(this.column领料库房);
  1606.                 this.column损耗率 = new DataColumn("损耗率", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1607.                 this.Columns.Add(this.column损耗率);
  1608.                 this.columnbom状态 = new DataColumn("bom状态", typeof(string), null, System.Data.MappingType.Element);
  1609.                 this.Columns.Add(this.columnbom状态);
  1610.                 this.columnbom信息状态 = new DataColumn("bom信息状态", typeof(string), null, System.Data.MappingType.Element);
  1611.                 this.Columns.Add(this.columnbom信息状态);
  1612.                 this.column审核者 = new DataColumn("审核者", typeof(string), null, System.Data.MappingType.Element);
  1613.                 this.Columns.Add(this.column审核者);
  1614.                 this.column审核日期 = new DataColumn("审核日期", typeof(int), null, System.Data.MappingType.Element);
  1615.                 this.Columns.Add(this.column审核日期);
  1616.                 this.column其它事项 = new DataColumn("其它事项", typeof(string), null, System.Data.MappingType.Element);
  1617.                 this.Columns.Add(this.column其它事项);
  1618.                 this.column低层码 = new DataColumn("低层码", typeof(int), null, System.Data.MappingType.Element);
  1619.                 this.Columns.Add(this.column低层码);
  1620.                 this.column展开标记 = new DataColumn("展开标记", typeof(bool), null, System.Data.MappingType.Element);
  1621.                 this.Columns.Add(this.column展开标记);
  1622.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  1623.                                 this.column父项编号,
  1624.                                 this.column物料编号}, true));
  1625.                 this.column父项编号.AllowDBNull = false;
  1626.                 this.column物料编号.AllowDBNull = false;
  1627.                 this.column需要数量.AllowDBNull = false;
  1628.             }
  1629.             
  1630.             public 物料清单Row New物料清单Row() {
  1631.                 return ((物料清单Row)(this.NewRow()));
  1632.             }
  1633.             
  1634.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1635.                 return new 物料清单Row(builder);
  1636.             }
  1637.             
  1638.             protected override System.Type GetRowType() {
  1639.                 return typeof(物料清单Row);
  1640.             }
  1641.             
  1642.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1643.                 base.OnRowChanged(e);
  1644.                 if ((this.物料清单RowChanged != null)) {
  1645.                     this.物料清单RowChanged(this, new 物料清单RowChangeEvent(((物料清单Row)(e.Row)), e.Action));
  1646.                 }
  1647.             }
  1648.             
  1649.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1650.                 base.OnRowChanging(e);
  1651.                 if ((this.物料清单RowChanging != null)) {
  1652.                     this.物料清单RowChanging(this, new 物料清单RowChangeEvent(((物料清单Row)(e.Row)), e.Action));
  1653.                 }
  1654.             }
  1655.             
  1656.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1657.                 base.OnRowDeleted(e);
  1658.                 if ((this.物料清单RowDeleted != null)) {
  1659.                     this.物料清单RowDeleted(this, new 物料清单RowChangeEvent(((物料清单Row)(e.Row)), e.Action));
  1660.                 }
  1661.             }
  1662.             
  1663.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1664.                 base.OnRowDeleting(e);
  1665.                 if ((this.物料清单RowDeleting != null)) {
  1666.                     this.物料清单RowDeleting(this, new 物料清单RowChangeEvent(((物料清单Row)(e.Row)), e.Action));
  1667.                 }
  1668.             }
  1669.             
  1670.             public void Remove物料清单Row(物料清单Row row) {
  1671.                 this.Rows.Remove(row);
  1672.             }
  1673.         }
  1674.         
  1675.         [System.Diagnostics.DebuggerStepThrough()]
  1676.         public class 物料清单Row : DataRow {
  1677.             
  1678.             private 物料清单DataTable table物料清单;
  1679.             
  1680.             internal 物料清单Row(DataRowBuilder rb) : 
  1681.                     base(rb) {
  1682.                 this.table物料清单 = ((物料清单DataTable)(this.Table));
  1683.             }
  1684.             
  1685.             public string 父项编号 {
  1686.                 get {
  1687.                     return ((string)(this[this.table物料清单.父项编号Column]));
  1688.                 }
  1689.                 set {
  1690.                     this[this.table物料清单.父项编号Column] = value;
  1691.                 }
  1692.             }
  1693.             
  1694.             public string 物料编号 {
  1695.                 get {
  1696.                     return ((string)(this[this.table物料清单.物料编号Column]));
  1697.                 }
  1698.                 set {
  1699.                     this[this.table物料清单.物料编号Column] = value;
  1700.                 }
  1701.             }
  1702.             
  1703.             public System.Decimal 需要数量 {
  1704.                 get {
  1705.                     return ((System.Decimal)(this[this.table物料清单.需要数量Column]));
  1706.                 }
  1707.                 set {
  1708.                     this[this.table物料清单.需要数量Column] = value;
  1709.                 }
  1710.             }
  1711.             
  1712.             public string 领料车间 {
  1713.                 get {
  1714.                     try {
  1715.                         return ((string)(this[this.table物料清单.领料车间Column]));
  1716.                     }
  1717.                     catch (InvalidCastException e) {
  1718.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1719.                     }
  1720.                 }
  1721.                 set {
  1722.                     this[this.table物料清单.领料车间Column] = value;
  1723.                 }
  1724.             }
  1725.             
  1726.             public string 领料库房 {
  1727.                 get {
  1728.                     try {
  1729.                         return ((string)(this[this.table物料清单.领料库房Column]));
  1730.                     }
  1731.                     catch (InvalidCastException e) {
  1732.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1733.                     }
  1734.                 }
  1735.                 set {
  1736.                     this[this.table物料清单.领料库房Column] = value;
  1737.                 }
  1738.             }
  1739.             
  1740.             public System.Decimal 损耗率 {
  1741.                 get {
  1742.                     try {
  1743.                         return ((System.Decimal)(this[this.table物料清单.损耗率Column]));
  1744.                     }
  1745.                     catch (InvalidCastException e) {
  1746.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1747.                     }
  1748.                 }
  1749.                 set {
  1750.                     this[this.table物料清单.损耗率Column] = value;
  1751.                 }
  1752.             }
  1753.             
  1754.             public string bom状态 {
  1755.                 get {
  1756.                     try {
  1757.                         return ((string)(this[this.table物料清单.bom状态Column]));
  1758.                     }
  1759.                     catch (InvalidCastException e) {
  1760.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1761.                     }
  1762.                 }
  1763.                 set {
  1764.                     this[this.table物料清单.bom状态Column] = value;
  1765.                 }
  1766.             }
  1767.             
  1768.             public string bom信息状态 {
  1769.                 get {
  1770.                     try {
  1771.                         return ((string)(this[this.table物料清单.bom信息状态Column]));
  1772.                     }
  1773.                     catch (InvalidCastException e) {
  1774.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1775.                     }
  1776.                 }
  1777.                 set {
  1778.                     this[this.table物料清单.bom信息状态Column] = value;
  1779.                 }
  1780.             }
  1781.             
  1782.             public string 审核者 {
  1783.                 get {
  1784.                     try {
  1785.                         return ((string)(this[this.table物料清单.审核者Column]));
  1786.                     }
  1787.                     catch (InvalidCastException e) {
  1788.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1789.                     }
  1790.                 }
  1791.                 set {
  1792.                     this[this.table物料清单.审核者Column] = value;
  1793.                 }
  1794.             }
  1795.             
  1796.             public int 审核日期 {
  1797.                 get {
  1798.                     try {
  1799.                         return ((int)(this[this.table物料清单.审核日期Column]));
  1800.                     }
  1801.                     catch (InvalidCastException e) {
  1802.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1803.                     }
  1804.                 }
  1805.                 set {
  1806.                     this[this.table物料清单.审核日期Column] = value;
  1807.                 }
  1808.             }
  1809.             
  1810.             public string 其它事项 {
  1811.                 get {
  1812.                     try {
  1813.                         return ((string)(this[this.table物料清单.其它事项Column]));
  1814.                     }
  1815.                     catch (InvalidCastException e) {
  1816.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1817.                     }
  1818.                 }
  1819.                 set {
  1820.                     this[this.table物料清单.其它事项Column] = value;
  1821.                 }
  1822.             }
  1823.             
  1824.             public int 低层码 {
  1825.                 get {
  1826.                     try {
  1827.                         return ((int)(this[this.table物料清单.低层码Column]));
  1828.                     }
  1829.                     catch (InvalidCastException e) {
  1830.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1831.                     }
  1832.                 }
  1833.                 set {
  1834.                     this[this.table物料清单.低层码Column] = value;
  1835.                 }
  1836.             }
  1837.             
  1838.             public bool 展开标记 {
  1839.                 get {
  1840.                     try {
  1841.                         return ((bool)(this[this.table物料清单.展开标记Column]));
  1842.                     }
  1843.                     catch (InvalidCastException e) {
  1844.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1845.                     }
  1846.                 }
  1847.                 set {
  1848.                     this[this.table物料清单.展开标记Column] = value;
  1849.                 }
  1850.             }
  1851.             
  1852.             public bool Is领料车间Null() {
  1853.                 return this.IsNull(this.table物料清单.领料车间Column);
  1854.             }
  1855.             
  1856.             public void Set领料车间Null() {
  1857.                 this[this.table物料清单.领料车间Column] = System.Convert.DBNull;
  1858.             }
  1859.             
  1860.             public bool Is领料库房Null() {
  1861.                 return this.IsNull(this.table物料清单.领料库房Column);
  1862.             }
  1863.             
  1864.             public void Set领料库房Null() {
  1865.                 this[this.table物料清单.领料库房Column] = System.Convert.DBNull;
  1866.             }
  1867.             
  1868.             public bool Is损耗率Null() {
  1869.                 return this.IsNull(this.table物料清单.损耗率Column);
  1870.             }
  1871.             
  1872.             public void Set损耗率Null() {
  1873.                 this[this.table物料清单.损耗率Column] = System.Convert.DBNull;
  1874.             }
  1875.             
  1876.             public bool Isbom状态Null() {
  1877.                 return this.IsNull(this.table物料清单.bom状态Column);
  1878.             }
  1879.             
  1880.             public void Setbom状态Null() {
  1881.                 this[this.table物料清单.bom状态Column] = System.Convert.DBNull;
  1882.             }
  1883.             
  1884.             public bool Isbom信息状态Null() {
  1885.                 return this.IsNull(this.table物料清单.bom信息状态Column);
  1886.             }
  1887.             
  1888.             public void Setbom信息状态Null() {
  1889.                 this[this.table物料清单.bom信息状态Column] = System.Convert.DBNull;
  1890.             }
  1891.             
  1892.             public bool Is审核者Null() {
  1893.                 return this.IsNull(this.table物料清单.审核者Column);
  1894.             }
  1895.             
  1896.             public void Set审核者Null() {
  1897.                 this[this.table物料清单.审核者Column] = System.Convert.DBNull;
  1898.             }
  1899.             
  1900.             public bool Is审核日期Null() {
  1901.                 return this.IsNull(this.table物料清单.审核日期Column);
  1902.             }
  1903.             
  1904.             public void Set审核日期Null() {
  1905.                 this[this.table物料清单.审核日期Column] = System.Convert.DBNull;
  1906.             }
  1907.             
  1908.             public bool Is其它事项Null() {
  1909.                 return this.IsNull(this.table物料清单.其它事项Column);
  1910.             }
  1911.             
  1912.             public void Set其它事项Null() {
  1913.                 this[this.table物料清单.其它事项Column] = System.Convert.DBNull;
  1914.             }
  1915.             
  1916.             public bool Is低层码Null() {
  1917.                 return this.IsNull(this.table物料清单.低层码Column);
  1918.             }
  1919.             
  1920.             public void Set低层码Null() {
  1921.                 this[this.table物料清单.低层码Column] = System.Convert.DBNull;
  1922.             }
  1923.             
  1924.             public bool Is展开标记Null() {
  1925.                 return this.IsNull(this.table物料清单.展开标记Column);
  1926.             }
  1927.             
  1928.             public void Set展开标记Null() {
  1929.                 this[this.table物料清单.展开标记Column] = System.Convert.DBNull;
  1930.             }
  1931.         }
  1932.         
  1933.         [System.Diagnostics.DebuggerStepThrough()]
  1934.         public class 物料清单RowChangeEvent : EventArgs {
  1935.             
  1936.             private 物料清单Row eventRow;
  1937.             
  1938.             private DataRowAction eventAction;
  1939.             
  1940.             public 物料清单RowChangeEvent(物料清单Row row, DataRowAction action) {
  1941.                 this.eventRow = row;
  1942.                 this.eventAction = action;
  1943.             }
  1944.             
  1945.             public 物料清单Row Row {
  1946.                 get {
  1947.                     return this.eventRow;
  1948.                 }
  1949.             }
  1950.             
  1951.             public DataRowAction Action {
  1952.                 get {
  1953.                     return this.eventAction;
  1954.                 }
  1955.             }
  1956.         }
  1957.     }
  1958. }