12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using iBemsDataService.Controllers.Fms.WorkManagement.ScheduledTask;
- using iBemsDataService.Controllers.Bems.ScheduledTask;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Http;
- using System.Web.Security;
- using System.Web.SessionState;
- using WebODataDataService;
- namespace iBemsDataService
- {
- public class Global : System.Web.HttpApplication
- {
- protected void Application_Start()
- {
-
-
- GlobalConfiguration.Configure( WebApiConfig.Register );
-
-
-
-
-
- WorkExecutionPlanJob tempJob = new WorkExecutionPlanJob();
- tempJob.Execute(null);
- FmsWorkManagementJobScheduler.Start();
- BemsScheduler.Start();
-
-
- }
- protected void Application_BeginRequest( object sender , EventArgs e )
- {
- iBemsDataService.CorsSupport.HandlePreflightRequest( HttpContext.Current );
- }
- }
- }
|