一区二区三区成人-一区二区三区www-一区二区三区 日韩-一区二区日韩欧美-一区二区日韩精品中文字幕-一区二区日韩

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在時間怎么自動填入?

主站蜘蛛池模板: 亚州第一页| 青青草原伊人网| 免费 视频| 男人边吃奶边做好爽视频免费| hd性欧美俱乐部中文| 暖暖的免费观看高清视频韩国| 久久综合老色鬼网站| 欧美娇小性xxxx| 免费国产成人| 国产精品欧美亚洲韩国日本99| 色久网| 秋霞午夜伦午夜高清福利片| 国产福利不卡视频在免费| 99热网址| 小早川怜子亚洲综合中文字幕| 青青青青在线视频| 国产欧美日韩精品一区二区三区| 操小女人| 亚州春色| 日本高清视频在线观看| 国产成人综合久久精品红| 国产一卡2卡3卡四卡国色天香| 四虎www.| 无码骚夜夜精品| 99re在线精品视频免费| 日本偷偷操| 欧美帅老头oldmangay| 好妈妈7在线观看高清| 91久久福利国产成人精品| 深夜免费在线视频| 欧美性f| 日本一区二区三区精品| 欧美又大又粗又爽视频| 精品一区二区三区波多野结衣| 不良小说| 国产福利一区二区精品视频 | 亚洲视频在线观看不卡| 99在线视频免费| hd最新国产人妖ts视频| www.大逼色| 3x3x3x短视频在线看|