⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataset3.cs

📁 生产管理系统 包括库存管理 销售管理 生产管理 日历管理 等功能
💻 CS
📖 第 1 页 / 共 5 页
字号:
            
            public int 结束日期 {
                get {
                    try {
                        return ((int)(this[this.table主生产计划.结束日期Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.结束日期Column] = value;
                }
            }
            
            public System.Decimal 期初库存 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table主生产计划.期初库存Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.期初库存Column] = value;
                }
            }
            
            public System.Decimal 需求数量 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table主生产计划.需求数量Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.需求数量Column] = value;
                }
            }
            
            public System.Decimal MPS数量 {
                get {
                    return ((System.Decimal)(this[this.table主生产计划.MPS数量Column]));
                }
                set {
                    this[this.table主生产计划.MPS数量Column] = value;
                }
            }
            
            public System.Decimal 生产单数量 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table主生产计划.生产单数量Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.生产单数量Column] = value;
                }
            }
            
            public System.Decimal 预计库存 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table主生产计划.预计库存Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.预计库存Column] = value;
                }
            }
            
            public string 记帐人 {
                get {
                    try {
                        return ((string)(this[this.table主生产计划.记帐人Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.记帐人Column] = value;
                }
            }
            
            public int 修改日期 {
                get {
                    try {
                        return ((int)(this[this.table主生产计划.修改日期Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.修改日期Column] = value;
                }
            }
            
            public string 审核人 {
                get {
                    try {
                        return ((string)(this[this.table主生产计划.审核人Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.审核人Column] = value;
                }
            }
            
            public int 审核日期 {
                get {
                    try {
                        return ((int)(this[this.table主生产计划.审核日期Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.审核日期Column] = value;
                }
            }
            
            public string 状态 {
                get {
                    return ((string)(this[this.table主生产计划.状态Column]));
                }
                set {
                    this[this.table主生产计划.状态Column] = value;
                }
            }
            
            public string 备注 {
                get {
                    try {
                        return ((string)(this[this.table主生产计划.备注Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table主生产计划.备注Column] = value;
                }
            }
            
            public bool Is编号Null() {
                return this.IsNull(this.table主生产计划.编号Column);
            }
            
            public void Set编号Null() {
                this[this.table主生产计划.编号Column] = System.Convert.DBNull;
            }
            
            public bool Is开始日期Null() {
                return this.IsNull(this.table主生产计划.开始日期Column);
            }
            
            public void Set开始日期Null() {
                this[this.table主生产计划.开始日期Column] = System.Convert.DBNull;
            }
            
            public bool Is结束日期Null() {
                return this.IsNull(this.table主生产计划.结束日期Column);
            }
            
            public void Set结束日期Null() {
                this[this.table主生产计划.结束日期Column] = System.Convert.DBNull;
            }
            
            public bool Is期初库存Null() {
                return this.IsNull(this.table主生产计划.期初库存Column);
            }
            
            public void Set期初库存Null() {
                this[this.table主生产计划.期初库存Column] = System.Convert.DBNull;
            }
            
            public bool Is需求数量Null() {
                return this.IsNull(this.table主生产计划.需求数量Column);
            }
            
            public void Set需求数量Null() {
                this[this.table主生产计划.需求数量Column] = System.Convert.DBNull;
            }
            
            public bool Is生产单数量Null() {
                return this.IsNull(this.table主生产计划.生产单数量Column);
            }
            
            public void Set生产单数量Null() {
                this[this.table主生产计划.生产单数量Column] = System.Convert.DBNull;
            }
            
            public bool Is预计库存Null() {
                return this.IsNull(this.table主生产计划.预计库存Column);
            }
            
            public void Set预计库存Null() {
                this[this.table主生产计划.预计库存Column] = System.Convert.DBNull;
            }
            
            public bool Is记帐人Null() {
                return this.IsNull(this.table主生产计划.记帐人Column);
            }
            
            public void Set记帐人Null() {
                this[this.table主生产计划.记帐人Column] = System.Convert.DBNull;
            }
            
            public bool Is修改日期Null() {
                return this.IsNull(this.table主生产计划.修改日期Column);
            }
            
            public void Set修改日期Null() {
                this[this.table主生产计划.修改日期Column] = System.Convert.DBNull;
            }
            
            public bool Is审核人Null() {
                return this.IsNull(this.table主生产计划.审核人Column);
            }
            
            public void Set审核人Null() {
                this[this.table主生产计划.审核人Column] = System.Convert.DBNull;
            }
            
            public bool Is审核日期Null() {
                return this.IsNull(this.table主生产计划.审核日期Column);
            }
            
            public void Set审核日期Null() {
                this[this.table主生产计划.审核日期Column] = System.Convert.DBNull;
            }
            
            public bool Is备注Null() {
                return this.IsNull(this.table主生产计划.备注Column);
            }
            
            public void Set备注Null() {
                this[this.table主生产计划.备注Column] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 主生产计划RowChangeEvent : EventArgs {
            
            private 主生产计划Row eventRow;
            
            private DataRowAction eventAction;
            
            public 主生产计划RowChangeEvent(主生产计划Row row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public 主生产计划Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class mrp物料需求计算DataTable : DataTable, System.Collections.IEnumerable {
            
            private DataColumn column物料名称;
            
            private DataColumn column物料编号;
            
            private DataColumn column年份;
            
            private DataColumn column计划期;
            
            private DataColumn column期初库存;
            
            private DataColumn column毛需求;
            
            private DataColumn column预计入库;
            
            private DataColumn column预计出库;
            
            private DataColumn column预计库存;
            
            private DataColumn column净需求;
            
            private DataColumn column计划产出;
            
            private DataColumn column计划投入;
            
            internal mrp物料需求计算DataTable() : 
                    base("mrp物料需求计算") {
                this.InitClass();
            }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -