DPS/include/TOTAL/S_P_MaterialDataDAO.h

34 lines
883 B
C++
Raw Permalink 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
{
/// S_材料库 (本项目内)
class S_P_MaterialDataDAO : public subDBDAO
{
public:
int _code; ///<编码
double _density; ///<材料密度
double _factor; ///<材料系数
string _gUID; ///<GUID值用于唯一表示一条记录不可更改
double _poissonsRatio; ///<泊松比
double _shearModulus; ///<剪切模量
double _tensileStrength; ///<抗拉强度
int _useFlag; ///<引用标志
double _yieldStrength; ///<屈服强度
double _youngsModulus; ///<杨氏模量
ODI S_P_MaterialDataDAO();
virtual ODI ~S_P_MaterialDataDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<S_P_MaterialDataDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, S_P_MaterialDataDAO * &pnewdao);
};
}