DPS/include/SDP/Csr_Cargohold_LoadDAO.h

33 lines
963 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "DAO.h"
namespace DBPlatformSpace
{
/// 干散货装载数据
class Csr_Cargohold_LoadDAO : public subDBDAO
{
public:
int _tankID; ///<舱室id
int _load_scenario_type; ///<载荷场景类型
int _lc_type; ///<装载工况类型
double _mh; ///<货物质量MH 最大吃水携带50%消耗品时均匀装载工况下货舱内的货物质量t
double _mhd; ///<货物质量MHD 最大吃水携带50%消耗品时有指定空舱组的设计装载工况下货舱的最大允许货物质量t
double _m; ///<当前装载工况下,散货舱内的货物质量
double _rhoc; ///<当前装载工况下,散货舱内散货的密度
double _psi; ///<当前装载工况下散货的休止角
double _perm; ///<当前装载工况下散货的渗透率
ODI Csr_Cargohold_LoadDAO();
ODI ~Csr_Cargohold_LoadDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<Csr_Cargohold_LoadDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, Csr_Cargohold_LoadDAO * &pnewdao);
};
}