⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 workpart_para_edit_dialog.h

📁 基于UG的压块参数化设计
💻 H
字号:
/*=============================================================================
   WARNING!!  This file is overwritten by the UIStyler each time the Styler 
   file is saved.
  
  
        Filename:  workpart_para_edit.h
  
        This file was generated by the NX User Interface Styler
        Created by: befree
        Version: NX 3
              Date: 12-15- 6
              Time: 11:36
  
   This include file is overwritten each time the UIStyler dialog is
   saved.  Any modifications to this file will be lost.
==============================================================================*/
 
 
#ifndef WORKPART_PARA_EDIT_H_INCLUDED
#define WORKPART_PARA_EDIT_H_INCLUDED
 
#include <uf.h> 
#include <uf_defs.h>
#include <uf_styler.h> 


#ifdef __cplusplus
extern "C" {
#endif

typedef struct DB_part_para_struct
{
	int     series_num;						// 制动器系列编号
	char    part_name[50];					// 零(部)件名称
	char    dim_name[20];					// 尺寸名称
	char    dim_value[50];					// 尺寸值
	char    dim_desc[200];		// 尺寸描述
    struct DB_part_para_struct *next;			// 后继节点的指针

}DB_part_para_struct;


typedef struct Project_workpart_edit
{
	DB_part_para_struct *p_para;
	int            for_work_or_display;
	int            num;
}Project_workpart_edit;


/*------------------ UIStyler Dialog Definitions  ------------------- */
/* The following values are definitions into your UIStyler dialog.    */
/* These values will allow you to modify existing objects within your */
/* dialog.   They work directly with the NX Open API,                 */
/* UF_STYLER_ask_value, UF_STYLER_ask_values, and UF_STYLER_set_value.*/
/*------------------------------------------------------------------- */
 
#define UG_WORK_PARA_WORKPART_LABEL    ("WORKPART_LABEL")
#define UG_WORK_PARA_MODEL_LIST        ("MODEL_LIST")
#define UG_WORK_PARA_ADD_TO_DB         ("ADD_TO_DB")
#define UG_WORK_PARA_DB_LABEL          ("DB_LABEL")
#define UG_WORK_PARA_DB_LIST           ("DB_LIST")
#define UG_WORK_PARA_DEL_FROM_DB       ("DEL_FROM_DB")
#define UG_WORK_PARA_DIALOG_OBJECT_COUNT ( 6 )
 

/*---------------- UIStyler Callback Prototypes --------------- */
/* The following function prototypes define the callbacks       */
/* specified in your UIStyler built dialog.  You are REQUIRED to*/
/* create the associated function for each prototype.  You must */
/* use the same function name and parameter list when creating  */
/* your callback function.                                      */
/*------------------------------------------------------------- */

int UG_WORK_PARA_construct_fun ( int dialog_id,
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data);

int UG_WORK_PARA_ok_fun ( int dialog_id,
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data);

int UG_WORK_PARA_cancel_fun ( int dialog_id,
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data);

int UG_WORK_PARA_add_to_db_fun ( int dialog_id,
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data);

int UG_WORK_PARA_del_from_db_fun ( int dialog_id,
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data);
extern int LaunchWorkPartParameterEditDialog( int *response,Project_workpart_edit *p_part_para);




#ifdef __cplusplus
}
#endif



#endif /* WORKPART_PARA_EDIT_H_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -