-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
hello thanks a lot for help
In my case, I tested it, and it is confirmed that the file is written normally.
But in the process of getting the value with Get, I got an abnormal result.
class cModelCommon : public cSerializer
{
public:
Q_GADGET
QS_SERIALIZABLE
QS_FIELD(QString, strMethodName) // 메소드 이름
QS_FIELD(QString, strMemo) // 메모
QS_FIELD(int, nTime) // 횟수
QS_FIELD(int, nUnit) // 단위
QS_FIELD(QDateTime, CreationTime) // 생성 시간
QS_COLLECTION(QVector, int, vWaveLength) // 파장
QS_COLLECTION(QVector, int, vCelltype) // 셀 타입 Ex) B,1,2..., S(Single)
};
class cModelQuantitation : public cModelCommon
{
Q_GADGET
QS_SERIALIZABLE
QS_OBJECT(cModelQuantitation_MeasureData, cMeasureData) // 측정결과
QS_OBJECT(cModelStandardCurve, cStandardCurve) // 리포트옵션
QS_OBJECT(cReportOption, cReportopt) // 리포트옵션
};
class cModelStandardCurve_MeasureData : public cSerializer
{
Q_GADGET
QS_SERIALIZABLE
private:
QS_FIELD(bool, IsChecked) // 체크박스 상태
QS_COLLECTION(QVector, qreal, vABS) // 흡광도
QS_COLLECTION(QVector, qreal, vConc) // 농도
QS_COLLECTION(QVector, qreal, vDispExp) // 차트 axis?
QS_COLLECTION(QVector, qreal, vCalcExp) // 수식
};
class cModelStandardCurve : public cModelCommon
{
Q_GADGET
QS_SERIALIZABLE
QS_FIELD(int, nFactor) // 희석배수
QS_FIELD(int, nSTCType) // STC 타입
QS_FIELD(int, nRSQ) // RSQ
QS_OBJECT(cModelStandardCurve_MeasureData, cMeasureData) // 측정결과
QS_OBJECT(cReportOption, cReportopt) // 리포트옵션
};
class cReportOption : public cSerializer
{
Q_GADGET
QS_SERIALIZABLE
QS_FIELD(bool, bShowTitle) // 측정 타이틀
QS_FIELD(bool, bShowDeviceInfo) // 장비 정보
QS_FIELD(bool, bShowInfo) // 상세 정보
QS_FIELD(bool, bShowData) // 측정 데이터
QS_FIELD(bool, bShowChart) // 차트 정보
};
This is the case with the class relationship diagram, what should I do to properly handle this case?
Fields of cModelCommon class are imported normally.
However, the class object of cModelQuantitation gets the initial value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels