public ModelGateStationArchive(ModelGateStationImport pModelGateImport)
 {
     this.FLOW        = pModelGateImport.FLOW;
     this.GATE_NAME   = pModelGateImport.GATE_NAME;
     this.MONTH       = pModelGateImport.MONTH;
     this.REGION      = pModelGateImport.REGION;
     this.UPLOAD_BY   = pModelGateImport.UPLOAD_BY;
     this.YEAR        = pModelGateImport.YEAR;
     this.GATE_ID     = pModelGateImport.GATE_ID;
     this.UPLOAD_DATE = pModelGateImport.UPLOAD_DATE;
     this.PRESSURE    = pModelGateImport.PRESSURE;
 }
Ejemplo n.º 2
0
        public ModelGateStationImport Clone()
        {
            var result = new ModelGateStationImport()
            {
                FLOW        = this.FLOW,
                GATE_ID     = this.GATE_ID,
                GATE_NAME   = this.GATE_NAME,
                MONTH       = this.MONTH,
                PRESSURE    = this.PRESSURE,
                REGION      = this.REGION,
                UPLOAD_BY   = this.UPLOAD_BY,
                UPLOAD_DATE = this.UPLOAD_DATE,
                YEAR        = this.YEAR
            };

            return(result);
        }