您好,欢迎访问三七文档
#includeapdefap.hlong_main(char*lpszPictureName,char*lpszObjectName,char*lpszPropertyName){//WINCC:TAGNAME_SECTION_START//syntax:#defineTagNameInActionDMTagName//nextTagID:2//WINCC:TAGNAME_SECTION_END//WINCC:PICNAME_SECTION_START//syntax:#definePicNameInActionPictureName//nextPicID:1//WINCC:PICNAME_SECTION_END//definitionofvariablesfloatheight;//maximumheightofyourstaticobjectfloatheight_setpoint;//calculatedheightfloatprocent;//processvalueinpercent//presetvalueheight=150;procent=GetTagWord(testvar);//prozessvalue(0-100%)//calculatenewheightheight_setpoint=procent/100*height;//returncalculatedvaluetoobjectreturn(int)height_setpoint;}
三七文档所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
本文标题:height
链接地址:https://www.777doc.com/doc-5332864 .html