Class InstrumentDesignResponse
java.lang.Object
neqsim.process.instrumentdesign.InstrumentDesignResponse
- All Implemented Interfaces:
Serializable
Response class for instrument design JSON export.
Provides a structured representation of instrument design data for JSON serialization. Includes equipment identification, instrument index, I/O summary, and cost summary.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor from InstrumentDesign. -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateFromDesign(InstrumentDesign design) Populate from an InstrumentDesign instance.toJson()Serialize to JSON.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
equipmentName
-
equipmentType
-
totalInstruments
private int totalInstruments -
ioSummary
-
safetyInstrumentCount
private int safetyInstrumentCount -
totalCostUSD
private double totalCostUSD -
instrumentIndex
-
-
Constructor Details
-
InstrumentDesignResponse
public InstrumentDesignResponse()Default constructor. -
InstrumentDesignResponse
Constructor from InstrumentDesign.- Parameters:
design- the instrument design object
-
-
Method Details
-
populateFromDesign
Populate from an InstrumentDesign instance.- Parameters:
design- the instrument design object
-
toJson
-