53 lines
1.5 KiB
C
53 lines
1.5 KiB
C
|
#pragma once
|
|||
|
#include "DAO.h"
|
|||
|
|
|||
|
namespace DBPlatformSpace
|
|||
|
{
|
|||
|
/// 2D<32><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
class D2_LongPanelDAO : public subDBDAO
|
|||
|
{
|
|||
|
public:
|
|||
|
int _appID; ///<<3C><><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD>
|
|||
|
string _description; ///<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
int _geomID; ///<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id
|
|||
|
string _inLongPanelIDs; ///<InLongPanelIDs
|
|||
|
string _outLongPanelIDs; ///<OutLongPanelIDs
|
|||
|
int _sectionID; ///<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<49><44>
|
|||
|
string _segmentsPanelTypes; ///<SegmentsPanelTypes
|
|||
|
string _shipStructureID; ///<<3C><><EFBFBD><EFBFBD><EFBFBD>ṹ<EFBFBD><E1B9B9><EFBFBD><EFBFBD>ID
|
|||
|
int _type; ///<<3C><><EFBFBD><EFBFBD> 1 - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3 - ˮƽ<CBAE><C6BD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
ODI D2_LongPanelDAO();
|
|||
|
ODI ~D2_LongPanelDAO();
|
|||
|
|
|||
|
|
|||
|
ODI virtual Mapper* createMapper();
|
|||
|
ODI static DAO* createObject();
|
|||
|
|
|||
|
|
|||
|
//_segmentsPanelTypes
|
|||
|
ODI ResultMsg saveSegmentsPanelTypes(list<int> segement);
|
|||
|
ODI ResultMsg getSegmentsPanelTypes(list<int>& segement);
|
|||
|
|
|||
|
//_InLongPanelIDs
|
|||
|
ODI ResultMsg saveInLongPanelIDs(list<int> InLongPanelIDsList);
|
|||
|
ODI ResultMsg getInLongPanelIDs(list<int>& InLongPanelIDsList);
|
|||
|
|
|||
|
//_outLongPanelIDs
|
|||
|
ODI ResultMsg saveOutLongPanelIDs(list<int> OutLongPanelIDsList);
|
|||
|
ODI ResultMsg getOutLongPanelIDs(list<int>& OutLongPanelIDsList);
|
|||
|
|
|||
|
|
|||
|
//
|
|||
|
static ODI ResultMsg DeleteAllPanelBySection(int sectionID);// ɾ<><C9BE>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>µİ<C2B5><C4B0>ܼ<EFBFBD>Segment
|
|||
|
|
|||
|
static ODI ResultMsg FindAll(list<D2_LongPanelDAO*> & pnewlist);
|
|||
|
|
|||
|
static ODI ResultMsg FindByID(int id, D2_LongPanelDAO * &pnewdao);
|
|||
|
|
|||
|
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_LongPanelDAO*>&newlist);
|
|||
|
|
|||
|
static ResultMsg ODI FindByType(int type, list<D2_LongPanelDAO*>&newlist);
|
|||
|
};
|
|||
|
}
|