FevenData::FevenData() : Fconfig() { // init local values startToUse = 0; currentDestination = 0; xmlBuffer = 0; // Prepar to receive other evenDatas merged with this listEvenDataB = new Flist(); // Use the base template to start. evenDataClass.copyFrom( &EVENDATA_BASE); ptrWorkStart = TXT_NULL; initDatas(); }
void ChimneyDockBarChildDlg::readPropertyData() { DataHelper::GetPropertyData( m_objId, _T( "名称" ), m_name ); DataHelper::GetPropertyData( m_objId, _T( "直径" ), m_diameter ); DataHelper::GetPropertyData( m_objId, _T( "长度" ), m_lenth); DataHelper::GetPropertyData( m_objId, _T( "弯角" ), m_bend ); DataHelper::GetPropertyData( m_objId, _T( "摩擦系数" ), m_friction ); DataHelper::GetPropertyData( m_objId, _T( "接头数" ), m_joints ); DataHelper::GetPropertyData( m_objId, _T( "百米风阻" ), m_hmWindage ); CString v; DataHelper::GetPropertyData( m_objId, _T( "材质" ), v ); int idx = ReadStringIntDatas(v,_T("风筒材质")); m_material.SetCurSel(idx); initDatas(); UpdateData(FALSE); }
/** \return No return value. */ void FevenData::reset() { // Erase the source source.setString( TXT_NULL); // reset the time to be born or reborn or reborn .... recycling is more natural ;) time( &startToUse); // erase the list of destinations resetDestinations(); // erase the link Fields Names resetLinkFieldsNames(); // erase evenDataB resetEvenDataB(); // erase all datas endXml(); initDatas(); }
VentCaculate::VentCaculate(AcDbObjectId objId):m_basis(0),m_rqAirflow(0) { initDatas(objId); }