组态王的使用说明!! 点击:3638 | 回复:9



不要找你喜欢的人补衣服

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:6帖 | 7回
  • 年度积分:0
  • 历史总积分:31
  • 注册:2002年1月13日
发表于:2003-04-24 22:03:00
楼主
哪位高手能看得明白请赐教!!不过由此我们可以看出我们的软件业的一点问题! 我们不能只是只些源代码就满足,你的产品是面向用户的,所以你的使用手册是因该有条理。让人看得清楚明白! 这方面我们真的应该学学国外的产品,看看人家的说明书是怎么写的! 我们的程序员不应只满足会写源代码,应该让自己将自己的思想用文字清楚的表达出来! 看看下面一堆E文,哎呀俺们的“影沟里是”不是很好真是看不明白!没有前因,没有说明,有的只是你的 懒惰和我的迷惑!!! 选自《组态王使用手册》6.0版本P669 建立动态查询 ResultCode=SQLSetStatement(ConnectionID,"SelectLotNo,LotName,LotDescription,LotQuantity from LotInfo,ProductionInfo"); ResultCode=SQLAppendStatement(ConnectID,"where LotInfo.LotNo=Production.LotNo"); ResultCode=SQLAppendStatement(ConnectID,"order by LotNo,LotName,LotQuantity"); 从文件中读出SQL语句 ResultCode=SQLLoadStatement(ConnectionID,"c:\myappdir\lotquery.sql"); 修改扩展的SQL语句 ResultCode=SQLSetStatement(ConnectionID,"SelectLotNo,LotName,LotDescription,LotQuantity from LotInfo,ProductionInfo"); ResultCode=SQLAppendStatement(ConnectID,"where LotInfo.LotNo=?"); ResultCode=SQLAppendStatement(ConnectID,"order by LotNo,LotName,LotQuantity"); ResultCode=SQLPrepareStatement(ConnectID,SQLHandle); ResultCode=SQLSetParameInt(SQLHandle,1,tagLotNumber); 执行扩展的SQL语句 例1 ResultCode=SQLLoadStatement(ConnectionID,"c:\sql\lotquery.sql"); ResultCode=SQLExecute(ConntionID,"BIND",0); 例2 ResultCode=SQLSetStatement(DeviceID,"select name from kingviewT"); ResultCode=SQLAppendStatement(DeviceID,"where salary=?"); ResultCode=SQLPrepareStatement(DeviceID,handle); ResultCode=SQLSetParamInt(handle,1,value); ResultCode=SQLExecute(DeviceID,"BIND",handle); 例3 SQLSetStatement(ConnectionID,"select agg from kingviewT"); SQLExcute(ConnectID,0);



ap76

  • 精华:0帖
  • 求助:0帖
  • 帖子:16帖 | 59回
  • 年度积分:0
  • 历史总积分:195
  • 注册:2002年8月31日
发表于:2003-03-12 16:01:00
1楼
:) 楼上的说的对 国产软件或设备大多都有这方面的问题,在说明书上比国外知名公司的说明书差了很多!说一句很痛心的话,有时看国外的英文说明书都比国内的中文说明书要轻松! 组态王软件不错,但说明书应该要改进!其错误的还有不少! 关于p187~p188透明的颜色的相关说明就错了,这个问题早在6.0版时就提出来了,可是其网站最新的6.02版电子说明书,都还未改进!

pariter

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 1回
  • 年度积分:0
  • 历史总积分:52
  • 注册:2002年3月28日
发表于:2003-04-22 13:31:00
2楼
能公司我最新的6.02版电子说明书的网站地址是什么吗?

北京亚控科技

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 62回
  • 年度积分:0
  • 历史总积分:82
  • 注册:2003年1月28日
发表于:2003-04-22 19:38:00
3楼
我们的地址是www.kingview.com; 欢迎您到我们的网站下在最新的电子版帮助. 我们不断的持续的完善我们的软件和帮助文档.

北京亚控科技

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 62回
  • 年度积分:0
  • 历史总积分:82
  • 注册:2003年1月28日
发表于:2003-04-24 13:14:00
4楼
建立动态查询   ResultCode=SQLSetStatement(ConnectionID,"SelectLotNo,LotName,LotDescription,LotQuantity from LotInfo,ProductionInfo");   ResultCode=SQLAppendStatement(ConnectID,"where LotInfo.LotNo=Production.LotNo");   ResultCode=SQLAppendStatement(ConnectID,"order by LotNo,LotName,LotQuantity");   从文件中读出SQL语句   ResultCode=SQLLoadStatement(ConnectionID,"c:\myappdir\lotquery.sql");   修改扩展的SQL语句   ResultCode=SQLSetStatement(ConnectionID,"SelectLotNo,LotName,LotDescription,LotQuantity from LotInfo,ProductionInfo");   ResultCode=SQLAppendStatement(ConnectID,"where LotInfo.LotNo=?");   ResultCode=SQLAppendStatement(ConnectID,"order by LotNo,LotName,LotQuantity");   ResultCode=SQLPrepareStatement(ConnectID,SQLHandle);   ResultCode=SQLSetParameInt(SQLHandle,1,tagLotNumber);   执行扩展的SQL语句   例1   ResultCode=SQLLoadStatement(ConnectionID,"c:\sql\lotquery.sql");   ResultCode=SQLExecute(ConntionID,"BIND",0);   例2   ResultCode=SQLSetStatement(DeviceID,"select name from kingviewT");   ResultCode=SQLAppendStatement(DeviceID,"where salary=?");   ResultCode=SQLPrepareStatement(DeviceID,handle);   ResultCode=SQLSetParamInt(handle,1,value);   ResultCode=SQLExecute(DeviceID,"BIND",handle);   例3   SQLSetStatement(ConnectionID,"select agg from kingviewT");   SQLExcute(ConnectID,0); 以上语句的具体说明和使用请参照,组态王函数命令语言手册, 或软件的在线帮助均有详细地说明。

张迈

  • 精华:1帖
  • 求助:0帖
  • 帖子:7帖 | 45回
  • 年度积分:0
  • 历史总积分:383
  • 注册:2003年2月06日
发表于:2003-04-24 22:03:00
5楼
浙江上虞精细化工园区捷盛化学工业有限公司 张迈 312366 19952992@163.com

uoogoo

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 6回
  • 年度积分:0
  • 历史总积分:23
  • 注册:2010年4月03日
发表于:2010-11-04 14:31:28
6楼

我也想要一份000000000000000000000000

🤓🤑杏好有你🙊

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 64回
  • 年度积分:0
  • 历史总积分:51
  • 注册:2020年8月04日
发表于:2020-08-24 18:57:43
7楼

积分啊

乡下菜农

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 61回
  • 年度积分:0
  • 历史总积分:132
  • 注册:2018年12月21日
发表于:2020-12-21 09:07:19
8楼

标准的的SQL语句,你看看SQL的手册就知道了.

爱上你c

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 186回
  • 年度积分:0
  • 历史总积分:123
  • 注册:2016年12月10日
发表于:2020-12-21 10:26:58
9楼

jifenhaoman a


热门招聘
相关主题

官方公众号

智造工程师