以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://www.weistock.com/bbs/index.asp)
--  金字塔软件问题提交  (http://www.weistock.com/bbs/list.asp?boardid=2)
----  手机监控助手问题  (http://www.weistock.com/bbs/dispbbs.asp?boardid=2&id=139033)

--  作者:wcq1983
--  发布时间:2016/9/1 17:01:02
--  手机监控助手问题
帮我加上指定在每天15点15分时间发短信的代码好吗
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145900 and currenttime<=150000 then begin
    sendphonemsg(\'公式模型运行方向多\',1);
end
 
if skt and kong=1 and currenttime>145900 and currenttime<=150000  then begin
    sendphonemsg(\'公式模型运行方向空\',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end


--  作者:wenarm
--  发布时间:2016/9/1 17:13:54
--  

这这段代码不是已经有想手机监控发消息的语句了吗?你是需要什么?


--  作者:wcq1983
--  发布时间:2016/9/1 17:21:08
--  
我是需要在指定时间在14点50分发送短信    上面发短信的时间是在14点59分至15点之间的时间段   我想改一下固定时间
--  作者:wenarm
--  发布时间:2016/9/1 17:32:22
--  
帮你在时间上改成了,14:55:00到14:55:30
使用的是一个时段作为判断,保证其执行效果。时间你可以自己改的。
要是只要在14:55分则用 if bkt and duo=1 and currenttime = 145500 then begin
 
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145500 and currenttime<=145530 then begin
    sendphonemsg(\'公式模型运行方向多\',1);
end
 
if skt and kong=1 and currenttime>145500 and currenttime<=145530  then begin
    sendphonemsg(\'公式模型运行方向空\',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end

--  作者:wcq1983
--  发布时间:2016/9/1 17:45:23
--  
我在上传策略报告至共享中心的时候为什么会有
图片点击可在新窗口打开查看此主题相关图片如下:12.png
图片点击可在新窗口打开查看
这种提示    创建Excel服务失败
--  作者:wenarm
--  发布时间:2016/9/2 8:55:20
--  

1.你安装的是64位的金字塔还是32位的

2.系统中是否安装了office


--  作者:wcq1983
--  发布时间:2016/9/2 16:09:14
--  
您好老师我在代码最后面加上了下面这些代码   为什么没有短信提醒啊
variable:duo=0,kong=0;

if bkt and duo=1 and currenttime>145500 and currenttime<=145530 then begin
    sendphonemsg(\'公式模型运行方向多\',1);
end
 
if skt and kong=1 and currenttime>145500 and currenttime<=145530  then begin
    sendphonemsg(\'公式模型运行方向空\',1);
end
 
if time=closetime(0) then begin
   duo:=0;
   kong:=0;
end

--  作者:yukizzc
--  发布时间:2016/9/2 16:33:54
--  

sendphonemsg(\'公式模型运行方向多\',1);

直接执行这句话看呢,看下是否bkt和duo的条件没有满足


--  作者:wcq1983
--  发布时间:2016/9/2 17:56:42
--  
老师我的是64位电脑  安装的32位金字塔软件    您的意思是在信号转多或转空的时候才发短信吗?   我的目的是想在没有多空转换的时候也发送短信  您看可以帮我在修改一下吗


--  作者:wcq1983
--  发布时间:2016/9/2 17:58:16
--  
我不清楚是否安装了office  怎么查看是否安装呢