Type.registerNamespace('CustomServices');
CustomServices.EventsViewerService=function() {
CustomServices.EventsViewerService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CustomServices.EventsViewerService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CustomServices.EventsViewerService._staticInstance.get_path();},
StartCycle:function(eventorder,succeededCallback, failedCallback, userContext) {
/// <param name="eventorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StartCycle',false,{eventorder:eventorder},succeededCallback,failedCallback,userContext); },
DisplayNextEvent:function(currentid,eventsorder,succeededCallback, failedCallback, userContext) {
/// <param name="currentid" type="String">System.String</param>
/// <param name="eventsorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DisplayNextEvent',false,{currentid:currentid,eventsorder:eventsorder},succeededCallback,failedCallback,userContext); },
VenueStartCycle:function(eventorder,succeededCallback, failedCallback, userContext) {
/// <param name="eventorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'VenueStartCycle',false,{eventorder:eventorder},succeededCallback,failedCallback,userContext); },
VenueDisplayNextEvent:function(currentid,eventsorder,succeededCallback, failedCallback, userContext) {
/// <param name="currentid" type="String">System.String</param>
/// <param name="eventsorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'VenueDisplayNextEvent',false,{currentid:currentid,eventsorder:eventsorder},succeededCallback,failedCallback,userContext); },
RunAdCycle:function(currentad,adlist,succeededCallback, failedCallback, userContext) {
/// <param name="currentad" type="String">System.String</param>
/// <param name="adlist" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RunAdCycle',false,{currentad:currentad,adlist:adlist},succeededCallback,failedCallback,userContext); }}
CustomServices.EventsViewerService.registerClass('CustomServices.EventsViewerService',Sys.Net.WebServiceProxy);
CustomServices.EventsViewerService._staticInstance = new CustomServices.EventsViewerService();
CustomServices.EventsViewerService.set_path = function(value) {
CustomServices.EventsViewerService._staticInstance.set_path(value); }
CustomServices.EventsViewerService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CustomServices.EventsViewerService._staticInstance.get_path();}
CustomServices.EventsViewerService.set_timeout = function(value) {
CustomServices.EventsViewerService._staticInstance.set_timeout(value); }
CustomServices.EventsViewerService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CustomServices.EventsViewerService._staticInstance.get_timeout(); }
CustomServices.EventsViewerService.set_defaultUserContext = function(value) { 
CustomServices.EventsViewerService._staticInstance.set_defaultUserContext(value); }
CustomServices.EventsViewerService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CustomServices.EventsViewerService._staticInstance.get_defaultUserContext(); }
CustomServices.EventsViewerService.set_defaultSucceededCallback = function(value) { 
 CustomServices.EventsViewerService._staticInstance.set_defaultSucceededCallback(value); }
CustomServices.EventsViewerService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CustomServices.EventsViewerService._staticInstance.get_defaultSucceededCallback(); }
CustomServices.EventsViewerService.set_defaultFailedCallback = function(value) { 
CustomServices.EventsViewerService._staticInstance.set_defaultFailedCallback(value); }
CustomServices.EventsViewerService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CustomServices.EventsViewerService._staticInstance.get_defaultFailedCallback(); }
CustomServices.EventsViewerService.set_path("/EventsViewerService.asmx");
CustomServices.EventsViewerService.StartCycle= function(eventorder,onSuccess,onFailed,userContext) {
/// <param name="eventorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CustomServices.EventsViewerService._staticInstance.StartCycle(eventorder,onSuccess,onFailed,userContext); }
CustomServices.EventsViewerService.DisplayNextEvent= function(currentid,eventsorder,onSuccess,onFailed,userContext) {
/// <param name="currentid" type="String">System.String</param>
/// <param name="eventsorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CustomServices.EventsViewerService._staticInstance.DisplayNextEvent(currentid,eventsorder,onSuccess,onFailed,userContext); }
CustomServices.EventsViewerService.VenueStartCycle= function(eventorder,onSuccess,onFailed,userContext) {
/// <param name="eventorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CustomServices.EventsViewerService._staticInstance.VenueStartCycle(eventorder,onSuccess,onFailed,userContext); }
CustomServices.EventsViewerService.VenueDisplayNextEvent= function(currentid,eventsorder,onSuccess,onFailed,userContext) {
/// <param name="currentid" type="String">System.String</param>
/// <param name="eventsorder" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CustomServices.EventsViewerService._staticInstance.VenueDisplayNextEvent(currentid,eventsorder,onSuccess,onFailed,userContext); }
CustomServices.EventsViewerService.RunAdCycle= function(currentad,adlist,onSuccess,onFailed,userContext) {
/// <param name="currentad" type="String">System.String</param>
/// <param name="adlist" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CustomServices.EventsViewerService._staticInstance.RunAdCycle(currentad,adlist,onSuccess,onFailed,userContext); }
