DPS/include/2D/D2_PSMPMAPropertyDAO.h

39 lines
1.2 KiB
C
Raw Normal View History

2025-06-23 10:41:33 +08:00
#pragma once
#include "DAO.h"
namespace DBPlatformSpace
{
2025-06-23 18:01:09 +08:00
/// 2D PSMPMAProperty£¨PSMPMA£©
2025-06-23 10:41:33 +08:00
class D2_PSMPMAPropertyDAO : public subDBDAO
{
public:
2025-06-23 18:01:09 +08:00
int _appID; ///<PSMPMA񅧏
int _endFixType; ///<¶Ë²¿¹Ì¶¨ÀàÐÍ
double _faceOffset; ///<Ãæ°åÆ«ÒÆ
double _faceThickness; ///<Ãæ°åºñ¶È
double _faceWidth; ///<Ãæ°å¿í¶È
int _materailID; ///<Ãæ°å²ÄÁϱàÂë
int _stiffLayoutDir; ///<1 -- ¸¹°å¼ÓÇ¿½î×ÝÏò²¼Öà 2 -- ¸¹°å¼ÓÇ¿½îºáÏò²¼ÖÃ
int _stiffnerID; ///<ËùÊô×ݹÇIDºÅ
2025-06-23 10:41:33 +08:00
int _type; ///<1 -- PSM 2 -- PMA
2025-06-23 18:01:09 +08:00
double _webThickness; ///<¸¹°åºñ¶È
double _webWidth; ///<¸¹°å¿í¶È
2025-06-23 10:41:33 +08:00
ODI D2_PSMPMAPropertyDAO();
virtual ODI ~D2_PSMPMAPropertyDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<D2_PSMPMAPropertyDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, D2_PSMPMAPropertyDAO * &pnewdao);
static ResultMsg ODI FindByAppID(int appID, list<D2_PSMPMAPropertyDAO*>&newlist);
static ResultMsg ODI FindByStiffnerID(int stiffnerID, list<D2_PSMPMAPropertyDAO*>&newlist);
};
}