access_cal.h
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:3k
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2001
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * access_cal.h
- *
- * Project:
- * --------
- * Maui META APP
- *
- * Description:
- * ------------
- * Calibration result export to Microsoft Access header
- *
- * Author:
- * -------
- * Andy Ueng (mtk00490)
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * $Revision$
- * $Modtime$
- * $Log$
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- #ifndef _ACCESS_CAL_H_
- #define _ACCESS_CAL_H_
- /*---------------------------------------------------------------------------*/
- #include <ADODB.hpp>
- #ifndef _FACTORY_DB_H_
- #include "factory_db.h"
- #endif
- /*---------------------------------------------------------------------------*/
- class CACCESSCAL
- {
- private:
- S_CalTime m_sCalTime;
- protected:
- public:
- CACCESSCAL( void );
- ~CACCESSCAL( );
- bool AddFieldToAccess( TADOTable *p_ADOTab, AnsiString as_fieldname, AnsiString as_fieldvalue );
- bool AddBarcodeToAccess( TADOTable *p_ADOTab, AnsiString as_ID );
- bool AddPcToAccess( TADOTable *p_ADOTab );
- bool AddDateToAccess( TADOTable *p_ADOTab );
- bool AddTimeToAccess( TADOTable *p_ADOTab );
- bool AddPassFailToAccess( TADOTable *p_ADOTab, int pass_fail );
- bool AddFailStepToAccess( TADOTable *p_ADOTab, int fail_step );
- bool AddAfcFailReasonToAccess( TADOTable *p_ADOTab, int fail_reason_code );
- bool AddRxPathLossFailReasonToAccess( TADOTable *p_ADOTab, int fail_reason_code );
- bool AddApcFailReasonToAccess( TADOTable *p_ADOTab, int fail_reason_code );
- bool AddAdcFailReasonToAccess( TADOTable *p_ADOTab, int fail_reason_code );
- bool AddCalTimeToAccess( TADOTable *p_ADOTab, AnsiString as_field, int i_time );
- bool AddInitTimeToAccess( TADOTable *p_ADOTab, int i_INIT_time );
- bool AddAFCTimeToAccess( TADOTable *p_ADOTab, int i_AFC_time );
- bool AddRxPathLossTimeToAccess( TADOTable *p_ADOTab, int i_RX_PATH_LOSS_time );
- bool AddIP2TimeToAccess( TADOTable *p_ADOTab, int i_IP2_time );
- bool AddAPCTimeToAccess( TADOTable *p_ADOTab, int i_APC_time );
- bool AddADCTimeToAccess( TADOTable *p_ADOTab, int i_ADC_time );
- bool AddTotalCalTimeToAccess( TADOTable *p_ADOTab );
- };
- /*---------------------------------------------------------------------------*/
- #endif