您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 电气安装工程 > Change_Job_Button_1
ButtonChangeJob#includeapdefap.hvoidOnClick(char*lpszPictureName,char*lpszObjectName,char*lpszPropertyName){longpresetValue=GetTagWord(PresetNumber);if(uaUtilityEnumRecords(JobData,ID0,NULL,SetPartsNumberCB,&presetValue))printf(PresetingValues:O.K.\r\n);elseprintf(PresetingValuesfailed\r\n);}FunktionSetPartsNumberCB#includeapdefap.hBOOLSetPartsNumberCB(UAHARCHIVE*phArchive,void*pUserData){BOOLrc=TRUE;//returncodeif(!uaArchiveSetFieldValueLong(*phArchive,2,*(long*)pUserData))//writenumberofpartstoarchive{printf(SetPartsNumberCB:erroronwritingtoArchive\r\n);rc=FALSE;}else{if(!uaArchiveUpdate(*phArchive))//updatearchiveline{printf(SetPartsNumberCB:erroronupdatingArchive\r\n);rc=FALSE;}}returnrc;}
本文标题:Change_Job_Button_1
链接地址:https://www.777doc.com/doc-5332839 .html