📄 access_cal.h
字号:
/*****************************************************************************
* 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -