public ModelPipelineImport Clone() { var result = new ModelPipelineImport() { DIAMETER = this.DIAMETER, EFFICIENCY = this.EFFICIENCY, FLOW = this.FLOW, LENGTH = this.LENGTH, LOAD = this.LOAD, MONTH = this.MONTH, OUTSIDE_DIAMETER = this.OUTSIDE_DIAMETER, PIPELINE_ID = this.PIPELINE_ID, RC_NAME = this.RC_NAME, REGION = this.REGION, ROUGHNESS = this.ROUGHNESS, SERVICE_STATE = this.SERVICE_STATE, UPLOAD_BY = this.UPLOAD_BY, UPLOAD_DATE = this.UPLOAD_DATE, VELOCITY = this.VELOCITY, WALL_THICKNESS = this.WALL_THICKNESS, YEAR = this.YEAR }; return(result); }
public ModelPipelineArchive(ModelPipelineImport pPipelineImport) { if (pPipelineImport == null) { return; } PIPELINE_ID = pPipelineImport.PIPELINE_ID; RC_NAME = pPipelineImport.RC_NAME; FLOW = pPipelineImport.FLOW; DIAMETER = pPipelineImport.DIAMETER; LENGTH = pPipelineImport.LENGTH; EFFICIENCY = pPipelineImport.EFFICIENCY; ROUGHNESS = pPipelineImport.ROUGHNESS; LOAD = pPipelineImport.LOAD; VELOCITY = pPipelineImport.VELOCITY; OUTSIDE_DIAMETER = pPipelineImport.OUTSIDE_DIAMETER; WALL_THICKNESS = pPipelineImport.WALL_THICKNESS; SERVICE_STATE = pPipelineImport.SERVICE_STATE; MONTH = pPipelineImport.MONTH; YEAR = pPipelineImport.YEAR; UPLOAD_DATE = pPipelineImport.UPLOAD_DATE; UPLOAD_BY = pPipelineImport.UPLOAD_BY; REGION = pPipelineImport.REGION; }