日期:2014-05-16 浏览次数:21366 次
protected void Application_Start(object sender, EventArgs e)
{
//kefu.DDPCustomerService k = new Timer.kefu.DDPCustomerService();
//string result = k.DDPService(99999, "{44044}{time.time.time}");
System.Timers.Timer myTimer = new System.Timers.Timer(500);
myTimer.Elapsed += new System.Timers.ElapsedEventHandler(OnTimedEvent);
myTimer.Interval = 500;
myTimer.Enabled = true;
}
private static void OnTimedEvent(object source, System.Timers.ElapsedEventArgs e)
{
qwe.DDPCustomerService Q = new KefuCenterService.qwe.DDPCustomerService();
// web.DDPCustomerService Q = new KefuCenterService.web.DDPCustomerService();
Q.Timeout = 10000;
string result = Q.DDPService(99999, "{44044}{time.time.time}");
}