说明:双击或选中下面任意单词,将显示该词的音标、读音、翻译等;选中中文或多个词,将显示翻译。
您的位置:首页 -> 词典 -> 契约式开发
1)  Design by Contract
契约式开发
1.
Enable Lua to Support “Design by Contract”;
在动态语言Lua中支持契约式开发
2)  Delivery Contract
发货契约
3)  development of Bonds
契约发展
4)  contract [英][kən'trækt]  [美]['kɑn,trækt]
契约式
1.
Design of contract-type course is put forward in this paper,covering its concept,its positive role,means employed,and case studies.
提出一种契约式广义课程设计,给出该方法的概念、作用、实现方法,以及实例分析。
2.
The research is one part of "evaluation of an experimental integrated community health care system for urban china" on effect for hypertension patients who have their contracts with community health center (CHC).
对社区高血压患者,在总模式实施水平背景下,强调了对高血压患者的契约式管理、社区综合防治和高血压信息系统。
5)  Contract Mode
契约模式
1.
A Study on the Reconstruction of Human Capital Contract Mode after Merger and Amalgamation of Enterprises;
并购中人力资本契约模式的重构研究
6)  contract form
契约形式
1.
Analysis of agency cost of contract form of state-owned enterprises;
国有企业契约形式下的代理成本分析
2.
The evolution course can be expressed by variety of contract form,and farmer holder have transformed from peasant to farmer.
中国现代农业企业组织的典型形式是农民专业合作社,其发展经历四个阶段的演进过程,这个过程表现为契约形式的变化,农户在这个过程中完成从传统到现代的转变。
补充资料:Pro/E二次开发使用toolkit开发trigger的程序

使用toolkit开发trigger的程序时,往往需要能够连续通过trigger来触发dll中的函数.
我碰到的问题:
   1.配置trigger:
   Name: CimDll
   Event: Create PIV
   Time:  POST
   RequireNO
   DLL:Cim.dll
   Function:PDMTPIVCreatePostOperation
   
  2.源代码:
   int PDMDLLInit()
{
   PTCERROR pdm_status;
   FILE      *g_pfileLog;
   g_pfileLog =fopen("test.dat","w");
   setbuf(g_pfileLog,NULL);
   fprintf(g_pfileLog,"begin test\n");
   pdm_status = PDMTriggerRegister("PDMTPIVCreatePostOperation", PDMTPIVCreatePostOperation);
   if (pdm_status != PDM_SUCCESS)
   {  
    printf("Failed to Register Trigger PIV Create Post.\n");
   }
    return (pdm_status);
}


int PDMTPIVCreatePostOperation(int argc, void **argv)
{
   fprintf(g_pfileLog,"test\n");
   .....
   fprintf(g_pfileLog,"end test\n");
   fclose(g_pfileLog);


}


   结果:以上代码存在的问题:如果我们在第一次checkin到C/S中后,删除test.dat文件,然后再进行checkin时,发现没有再生成test.dat,在函数PDMTPIVCreatePostOperation()中所进行的对文件的操作都无效.
   原因:我们使用trigger触发时,真正起作用的是函数:PDMTPIVCreatePostOperation(),而PDMDLLInit()只是在第一次checkin时起作用,所以在第一次调用PDMTPIVCreatePostOperation()后,我就fclose(g_pfileLog),所以出现了上面的情况.所以注意的是:不要把一些重要的东西放在函数PDMDLLInit()中.

说明:补充资料仅用于学习参考,请勿用于其它任何用途。
参考词条