개정판 7c411376
issue #000 Export_To_PAP.py 수정
HYTOS/HYTOS/Export_To_PAP.py | ||
---|---|---|
433 | 433 |
if symbolItem.type.upper() == "Valve".upper(): |
434 | 434 |
inst_Item.attributes.append(Inst_Attribute(table="Inst_CV", column="RevNo", value=revStatus)) |
435 | 435 |
inst_Item.attributes.append(Inst_Attribute(table="Inst_CV", column="CreateDate", value=createDate)) |
436 |
inst_Item.attributes.append(Inst_Attribute(table="Inst_CV", column="UpdateDate", value=createDate)) |
|
437 |
inst_Item.attributes.append(Inst_Attribute(table="Inst_Common", column="CreateDate", value=createDate)) |
|
438 |
inst_Item.attributes.append(Inst_Attribute(table="Inst_Common", column="UpdateDate", value=createDate)) |
|
436 | 439 |
if inlet_streamLine: |
437 | 440 |
suctp = "" |
438 | 441 |
discp = "" |
... | ... | |
535 | 538 |
elif symbolItem.type == "Compressor": |
536 | 539 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="RevNo", value=revStatus)) |
537 | 540 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="CreateDate", value=createDate)) |
541 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="UpdateDate", value=createDate)) |
|
538 | 542 |
inletPressure = "" |
539 | 543 |
dischargePress = "" |
540 | 544 |
diffPressure = "" |
... | ... | |
570 | 574 |
elif symbolItem.type == "Pump": |
571 | 575 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="RevNo", value=revStatus)) |
572 | 576 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="CreateDate", value=createDate)) |
577 |
inst_Item.attributes.append(Inst_Attribute(table="eq_common", column="UpdateDate", value=createDate)) |
|
573 | 578 |
suctionPressRated = "" |
574 | 579 |
dischargePressRated = "" |
575 | 580 |
differentialPressRated = "" |
... | ... | |
616 | 621 |
viscosity = inlet_streamLine.data.viscosity |
617 | 622 |
temperature = inlet_streamLine.data.temperature |
618 | 623 |
if datacase_data == Pump_Datacase.Rated_Flow_Case: |
619 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_rotating", colum = "DesignCapacity", value = flowrate_volume)) |
|
620 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", colum = "RelativeDensityRated", value = density)) |
|
621 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", colum = "ViscosityRated", value = viscosity)) |
|
622 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", colum = "PumpingTempRated", value = temperature)) |
|
624 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_rotating", column = "DesignCapacity", value = flowrate_volume))
|
|
625 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", column = "RelativeDensityRated", value = density))
|
|
626 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", column = "ViscosityRated", value = viscosity))
|
|
627 |
inst_Item.attributes.append(Inst_Attribute(table= "eq_pump", column = "PumpingTempRated", value = temperature))
|
|
623 | 628 |
elif datacase_data == Pump_Datacase.Maximum_Flow_Case: |
624 | 629 |
inst_Item.attributes.append(Inst_Attribute(table = "eq_pump", column = "FlowMax", value = flowrate_volume)) |
625 | 630 |
inst_Item.attributes.append(Inst_Attribute(table = "eq_pump", column = "RelativeDensityMax", value = density)) |
내보내기 Unified diff