access_afc.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_ip2.h
- *
- * Project:
- * --------
- * Maui META APP
- *
- * Description:
- * ------------
- * IP2 calibration 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_AFC_H_
- #define _ACCESS_AFC_H_
- #include <ADODB.hpp>
- /*---------------------------------------------------------------------------*/
- /*---------------------------------------------------------------------------*/
- class CACCESSAFC
- {
- private:
- protected:
- public:
- CACCESSAFC( void );
- ~CACCESSAFC( );
- void SetTabNameToAFC_PARAMETERS( TADOTable *p_ADOTab );
- void ActivateADOTab( TADOTable *p_ADOTab );
- void InsertNewRecordToAccess( TADOTable *p_ADOTab );
- void SetADOTableToEditMode( TADOTable *p_ADOTab );
- void PostRecordToAccess( TADOTable *p_ADOTab );
- 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 AddCommonFieldToAccess( TADOTable *p_ADOTab, AnsiString as_ID );
- bool AddTcvcxoAFCParameterToAccess( TADOTable *p_ADOTab, int AfcSlope, int InitAfcDac);
- };
- /*---------------------------------------------------------------------------*/
- #endif