回复:WINCC中制作管道流体流动动画的一种方法

幽谷独客

  • 帖子

    6
  • 精华

    0
  • 被关注

    0

论坛等级:新手

注册时间:2009-07-23

普通 普通 如何晋级?

发布于 2009-07-23 12:52:49

0楼

long Left,Left1,Width1,Width2;
BOOL Visible1;
long i,k;
Visible1 = GetPropBOOL(lpszPictureName,lpszObjectName,"Visible1");
Left1 = GetPropWord(lpszPictureName,lpszObjectName,"Left1");
if (Visible1)
{ Left = GetLeft(lpszPictureName,lpszObjectName);
Width1 = GetPropWord(lpszPictureName,lpszObjectName,"Width1");
Width2 = GetPropWord(lpszPictureName,lpszObjectName,"Width2");
k = Width2 - Width1;
i = Left + Width1;
Left1 = Left1 + k;
if (Left1 >= i)
Left1 = Left;
}
return Left1;
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC WinCC / Panel

共有32748条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。