麻豆一区区三三四区产品麻豆-麻豆影视国产TV在线观看-麻豆影视国产在线观看-麻豆影视在线-麻豆影视在线观看av-麻豆影院

cncaiker
級別: 正式會員
精華主題: 0
發帖數量: 3 個
工控威望: 93 點
下載積分: 576 分
在線時間: 1(小時)
注冊時間: 2015-11-07
最后登錄: 2023-03-20
查看cncaiker的 主題 / 回貼
樓主  發表于: 2016-04-05 16:05
float Ayear;
float Amonth;
float Aday;
long x;
long y;
long Row;
long StartTime;
string temp;
Ayear=ADate.Year;
Amonth=ADate.Month;
Aday=ADate.Day;
temp=StrFromInt( Ayear, 10 );
if(Amonth<10)
temp=temp+"-0"+StrFromInt( Amonth, 10 );
else
temp=temp+"-"+StrFromInt( Amonth, 10 );
if(Aday<10)
temp=temp+"-0"+StrFromInt( Aday, 10 );
else
temp=temp+"-"+StrFromInt( Aday, 10 );
\\本站點\選擇日期=temp;
ReportSetCellString2("Report2", 7, 1, 30, 11, " "); //清空單元格
ReportSetCellString2("Report2", 38, 1, 61, 11, " "); //清空單元格
ReportSetCellString("Report2", 3, 10, temp);//填寫日期
//查詢數據
StartTime=HTConvertTime(Ayear,Amonth,Aday,0,0,0);
ReportSetHistData("Report2", "\\本站點\Fl", StartTime, 3600, "B7:B30");
ReportSetHistData("Report2", "\\本站點\F2", StartTime, 3600, "C7:C30");
ReportSetHistData("Report2", "\\本站點\CODcr1", StartTime, 3600,"D7:D30");
ReportSetHistData("Report2", "\\本站點\pH1", StartTime, 3600, "E7:E30");
ReportSetHistData("Report2", "\\本站點\pH2", StartTime, 3600, "F7:F30");
ReportSetHistData("Report2", "\\本站點\DO1", StartTime, 3600, "G7:G30");
ReportSetHistData("Report2", "\\本站點\Ba_C", StartTime, 3600, "H7:H30");
ReportSetHistData("Report2", "\\本站點\Bb_C", StartTime, 3600, "I7:I30");
ReportSetHistData("Report2", "\\本站點\Ba_BR", StartTime, 3600, "J7:J30");
ReportSetHistData("Report2", "\\本站點\Bb_BR", StartTime, 3600, "K7:K30");
//查詢數據
StartTime=HTConvertTime(Ayear,Amonth,Aday,0,0,0);
ReportSetHistData("Report2", "", StartTime, 3600, "B38:B61");
ReportSetHistData("Report2", "", StartTime, 3600, "C38:C61");
ReportSetHistData("Report2", "\\本站點\ID_0", StartTime, 3600,"D38:D61");
ReportSetHistData("Report2", "\\本站點\ID_1", StartTime, 3600, "E38:E61");
ReportSetHistData("Report2", "\\本站點\ID_2", StartTime, 3600, "F38:F61");
ReportSetHistData("Report2", "\\本站點\F4", StartTime, 3600, "G38:G61");
ReportSetHistData("Report2", "\\本站點\CODcr2", StartTime, 3600, "H38:H61");
ReportSetHistData("Report2", "\\本站點\pH3", StartTime, 3600, "I38:I61");
//填寫時間
x=0;
       while(x<24)
       {
       row=7+x;
       y=StartTime+x*3600;
       temp=StrFromTime( y, 2 );
       ReportSetCellString("Report2", row, 1, temp);
       x=x+1;
       }


請問38~61在時間怎么自動填入?

主站蜘蛛池模板: 精品无码三级在线观看视频 | 国产乱妇乱子在线播视频播放网站| 亚洲精品乱码8久久久久久日本| 久久综合中文字幕| 91福利视频网站| 人禽无码做爰在线观看| 2024国产无码免费视频| 天天干天天插网| av人无码综合在线| 亚洲国产精品久久久久秋霞影院| 二区日本成人动漫电影 | 精品福利一区二区三区免费视频 | 欧美一区二区日韩一区二区| 1区2区日韩欧美国产| 熟女老妇久久视频| 99久久国产热无码精品| 亚洲av无码人片在线观看www| 成年无码高潮v片在线| 亚洲午夜久久久久中文字幕久久| 国产成人v无码专区亚洲v| 人体无码免费在线观看| 国产精品免费aⅴ片在线播放| 国产精品午夜福利小视频| 国产麻豆性爱视频| 91欧洲在线视精品在亚洲| 国产欧美精品一区| 成人无码区免费A片视频WWW| 国产午夜精品一区二区三区| 国内精品A片XXX久久久| 国产在线看片免费视频| 久久AV亚洲精品一区无码网| 国产真实伦偷精品| 精品国产高清毛片A片看| 国产又爽又大又黄A片| 精品国产一区二区三区四区在线看 | 国产日韩精品成人明星在线观看 | 亚洲巨乳巨臀在线一区二区BBW| 成人午夜又粗又硬又长| 亚洲婷婷丁香| 成人爽爽激情在线观看| 亚洲精品无码专区久久同性男|