var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebService._staticInstance.get_path();},
GetWell:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWell',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
CheckAuth:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckAuth',false,{},succeededCallback,failedCallback,userContext); },
CheckUsername:function(ClientId,EditUserId,Username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckUsername',false,{ClientId:ClientId,EditUserId:EditUserId,Username:Username},succeededCallback,failedCallback,userContext); },
PostClientError:function(strError,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostClientError',false,{strError:strError},succeededCallback,failedCallback,userContext); },
SetSelectedSessionDates:function(Type,SelectedDates,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSelectedSessionDates',false,{Type:Type,SelectedDates:SelectedDates},succeededCallback,failedCallback,userContext); },
SetSelectedReportType:function(Type,ReportType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSelectedReportType',false,{Type:Type,ReportType:ReportType},succeededCallback,failedCallback,userContext); },
ClearSelectedSessionDates:function(Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ClearSelectedSessionDates',false,{Type:Type},succeededCallback,failedCallback,userContext); },
SetSessionWellId:function(LoginId,WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSessionWellId',false,{LoginId:LoginId,WellId:WellId},succeededCallback,failedCallback,userContext); },
PostUserConfigDefName:function(DefinitionId,DefinitionName,MultiWell,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostUserConfigDefName',false,{DefinitionId:DefinitionId,DefinitionName:DefinitionName,MultiWell:MultiWell},succeededCallback,failedCallback,userContext); },
DeleteConfigDef:function(DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteConfigDef',false,{DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
GetMobileTraces:function(LoginId,WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMobileTraces',false,{LoginId:LoginId,WellId:WellId},succeededCallback,failedCallback,userContext); },
GetMobileTraceValue:function(LoginId,WellId,TraceId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMobileTraceValue',false,{LoginId:LoginId,WellId:WellId,TraceId:TraceId},succeededCallback,failedCallback,userContext); },
GetTraces:function(WellId,DefinitionId,MultiWell,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraces',false,{WellId:WellId,DefinitionId:DefinitionId,MultiWell:MultiWell},succeededCallback,failedCallback,userContext); },
PostTraceLocation:function(TraceId,Index,Section,DefinitionId,Dial,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceLocation',false,{TraceId:TraceId,Index:Index,Section:Section,DefinitionId:DefinitionId,Dial:Dial},succeededCallback,failedCallback,userContext); },
GetRealTimeTraces:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRealTimeTraces',false,{},succeededCallback,failedCallback,userContext); },
GetTraceValue:function(WellId,TraceId,DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraceValue',false,{WellId:WellId,TraceId:TraceId,DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
GetPitsPumps:function(WellId,DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPitsPumps',false,{WellId:WellId,DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
GetActivePumps:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetActivePumps',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
GetValue:function(WellId,DefinitionId,TraceNumber,Index,ElementId,IsOnGraph,Alarms,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetValue',false,{WellId:WellId,DefinitionId:DefinitionId,TraceNumber:TraceNumber,Index:Index,ElementId:ElementId,IsOnGraph:IsOnGraph,Alarms:Alarms},succeededCallback,failedCallback,userContext); },
GetHistoricalImageURL:function(Traces,StartDate,EndDate,Interval,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHistoricalImageURL',false,{Traces:Traces,StartDate:StartDate,EndDate:EndDate,Interval:Interval},succeededCallback,failedCallback,userContext); },
GetSelectedTime:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSelectedTime',false,{},succeededCallback,failedCallback,userContext); },
GetTraceGroups:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraceGroups',false,{},succeededCallback,failedCallback,userContext); },
GetTraces_ByGroup:function(UnitTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraces_ByGroup',false,{UnitTypeId:UnitTypeId},succeededCallback,failedCallback,userContext); },
GetUnits_ByTrace:function(TraceId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnits_ByTrace',false,{TraceId:TraceId},succeededCallback,failedCallback,userContext); },
GetUnits_ByTrace_Short:function(TraceId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnits_ByTrace_Short',false,{TraceId:TraceId},succeededCallback,failedCallback,userContext); },
PostTraceUnits:function(TraceId,UnitId,DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceUnits',false,{TraceId:TraceId,UnitId:UnitId,DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
PostTraceScales:function(WellId,TraceId,DefinitionId,Min,Max,AutoScale,Reset,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceScales',false,{WellId:WellId,TraceId:TraceId,DefinitionId:DefinitionId,Min:Min,Max:Max,AutoScale:AutoScale,Reset:Reset},succeededCallback,failedCallback,userContext); },
PostTraceAlarms:function(WellId,TraceId,DefinitionId,Min,Max,Reset,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceAlarms',false,{WellId:WellId,TraceId:TraceId,DefinitionId:DefinitionId,Min:Min,Max:Max,Reset:Reset},succeededCallback,failedCallback,userContext); },
PostDefinitionRows:function(DefinitionId,Row1,Row2,Row3,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostDefinitionRows',false,{DefinitionId:DefinitionId,Row1:Row1,Row2:Row2,Row3:Row3},succeededCallback,failedCallback,userContext); },
GetDefinitionRows:function(LoginId,DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDefinitionRows',false,{LoginId:LoginId,DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
ResetUnits:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ResetUnits',false,{},succeededCallback,failedCallback,userContext); },
GetSystemMessages:function(LoginId,FromLogin,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSystemMessages',false,{LoginId:LoginId,FromLogin:FromLogin},succeededCallback,failedCallback,userContext); },
GetWells_WithRig:function(Status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWells_WithRig',false,{Status:Status},succeededCallback,failedCallback,userContext); },
GetWells:function(Status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWells',false,{Status:Status},succeededCallback,failedCallback,userContext); },
GetWellGroups:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWellGroups',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
PostWellGroups:function(WellId,GroupIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostWellGroups',false,{WellId:WellId,GroupIds:GroupIds},succeededCallback,failedCallback,userContext); },
GetWell3rdParties:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWell3rdParties',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
GetWellClients:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWellClients',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
PostWellClients:function(WellId,ClientIds,ClientType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostWellClients',false,{WellId:WellId,ClientIds:ClientIds,ClientType:ClientType},succeededCallback,failedCallback,userContext); },
PostWell3rdParty:function(WellId,ClientIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostWell3rdParty',false,{WellId:WellId,ClientIds:ClientIds},succeededCallback,failedCallback,userContext); },
GetGroups:function(GroupTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGroups',false,{GroupTypeId:GroupTypeId},succeededCallback,failedCallback,userContext); },
GetClients:function(Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetClients',false,{Type:Type},succeededCallback,failedCallback,userContext); },
Get3rdParties:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Get3rdParties',false,{},succeededCallback,failedCallback,userContext); },
PostGroup:function(GroupId,Name,Delete,GroupTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostGroup',false,{GroupId:GroupId,Name:Name,Delete:Delete,GroupTypeId:GroupTypeId},succeededCallback,failedCallback,userContext); },
GetUsers:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUsers',false,{},succeededCallback,failedCallback,userContext); },
GetUserWellGroups:function(UserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserWellGroups',false,{UserId:UserId},succeededCallback,failedCallback,userContext); },
PostUserWellGroups:function(UserId,GroupIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostUserWellGroups',false,{UserId:UserId,GroupIds:GroupIds},succeededCallback,failedCallback,userContext); },
GetRigs:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigs',false,{},succeededCallback,failedCallback,userContext); },
GetRigGroups:function(RigId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigGroups',false,{RigId:RigId},succeededCallback,failedCallback,userContext); },
PostRigGroups:function(RigId,GroupIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostRigGroups',false,{RigId:RigId,GroupIds:GroupIds},succeededCallback,failedCallback,userContext); },
GetRigParts:function(RigId,PartTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigParts',false,{RigId:RigId,PartTypeId:PartTypeId},succeededCallback,failedCallback,userContext); },
GetRigPart:function(RigId,RigPartId,PartTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigPart',false,{RigId:RigId,RigPartId:RigPartId,PartTypeId:PartTypeId},succeededCallback,failedCallback,userContext); },
GetRigPartDetails:function(RigPartId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigPartDetails',false,{RigPartId:RigPartId},succeededCallback,failedCallback,userContext); },
GetRigPartDetail:function(RigPartId,RigPartDetailId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRigPartDetail',false,{RigPartId:RigPartId,RigPartDetailId:RigPartDetailId},succeededCallback,failedCallback,userContext); },
PostRigPart:function(RigId,RigPartId,Name,PartTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostRigPart',false,{RigId:RigId,RigPartId:RigPartId,Name:Name,PartTypeId:PartTypeId},succeededCallback,failedCallback,userContext); },
PostRigPartDetail:function(RigPartDetailId,RigPartId,Barcode,Status,Details,Quantity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostRigPartDetail',false,{RigPartDetailId:RigPartDetailId,RigPartId:RigPartId,Barcode:Barcode,Status:Status,Details:Details,Quantity:Quantity},succeededCallback,failedCallback,userContext); },
GetExportSelections:function(WellId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExportSelections',false,{WellId:WellId},succeededCallback,failedCallback,userContext); },
PostExportSelections:function(WellId,Traces,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostExportSelections',false,{WellId:WellId,Traces:Traces},succeededCallback,failedCallback,userContext); },
GetRole:function(RoleId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRole',false,{RoleId:RoleId},succeededCallback,failedCallback,userContext); },
GetRoles:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRoles',false,{},succeededCallback,failedCallback,userContext); },
GetClientRoleGroups:function(ClientId,UserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetClientRoleGroups',false,{ClientId:ClientId,UserId:UserId},succeededCallback,failedCallback,userContext); },
GetGroupRoles:function(GroupId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGroupRoles',false,{GroupId:GroupId},succeededCallback,failedCallback,userContext); },
PostRoleGroup:function(GroupId,GroupName,Delete,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostRoleGroup',false,{GroupId:GroupId,GroupName:GroupName,Delete:Delete},succeededCallback,failedCallback,userContext); },
PostRoleGroupRoles:function(GroupId,RoleIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostRoleGroupRoles',false,{GroupId:GroupId,RoleIds:RoleIds},succeededCallback,failedCallback,userContext); },
PostMemo:function(Memo,MemoDateTime,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostMemo',false,{Memo:Memo,MemoDateTime:MemoDateTime},succeededCallback,failedCallback,userContext); },
Export_PostSettings:function(PollInterval,UserId,LocalPath,NotificationAddresses,AutoTS,AutoMR,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_PostSettings',false,{PollInterval:PollInterval,UserId:UserId,LocalPath:LocalPath,NotificationAddresses:NotificationAddresses,AutoTS:AutoTS,AutoMR:AutoMR},succeededCallback,failedCallback,userContext); },
Export_PostSettings_V2:function(PollInterval,UserId,TSLocalPath,MRLocalPath,NotificationAddresses,AutoDownloadTS,AutoDownloadMR,TourSheetType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_PostSettings_V2',false,{PollInterval:PollInterval,UserId:UserId,TSLocalPath:TSLocalPath,MRLocalPath:MRLocalPath,NotificationAddresses:NotificationAddresses,AutoDownloadTS:AutoDownloadTS,AutoDownloadMR:AutoDownloadMR,TourSheetType:TourSheetType},succeededCallback,failedCallback,userContext); },
Export_GetNotificationAddresses:function(LoginId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_GetNotificationAddresses',false,{LoginId:LoginId},succeededCallback,failedCallback,userContext); },
Export_DeleteNotificationAddresses:function(LoginId,Id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_DeleteNotificationAddresses',false,{LoginId:LoginId,Id:Id},succeededCallback,failedCallback,userContext); },
Export_PostPendingDownloadDates:function(LoginId,UserId,WellId,DownloadAsReady,SelectedDates,ExportTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_PostPendingDownloadDates',false,{LoginId:LoginId,UserId:UserId,WellId:WellId,DownloadAsReady:DownloadAsReady,SelectedDates:SelectedDates,ExportTypeId:ExportTypeId},succeededCallback,failedCallback,userContext); },
Export_PostStatuses:function(LoginId,UserId,StatusIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_PostStatuses',false,{LoginId:LoginId,UserId:UserId,StatusIds:StatusIds},succeededCallback,failedCallback,userContext); },
Export_GetSelectedDates:function(LoginId,WellId,ExportTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Export_GetSelectedDates',false,{LoginId:LoginId,WellId:WellId,ExportTypeId:ExportTypeId},succeededCallback,failedCallback,userContext); },
PostTraceExportConfig:function(DefinitionId,Traces,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceExportConfig',false,{DefinitionId:DefinitionId,Traces:Traces},succeededCallback,failedCallback,userContext); },
GetTraceExportConfig:function(DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraceExportConfig',false,{DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); },
PostTraceExportConfigDefinition:function(DefinitionId,Name,Delete,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostTraceExportConfigDefinition',false,{DefinitionId:DefinitionId,Name:Name,Delete:Delete},succeededCallback,failedCallback,userContext); },
GetTraceExportConfigDefinitions:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraceExportConfigDefinitions',false,{},succeededCallback,failedCallback,userContext); },
CalcSpeed:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CalcSpeed',false,{},succeededCallback,failedCallback,userContext); },
GetExportReportConfig:function(ConfigType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExportReportConfig',false,{ConfigType:ConfigType},succeededCallback,failedCallback,userContext); },
GetExportReportConfigTraceUnits:function(Col,Row,TraceId,SelectedUnitId,ElementId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExportReportConfigTraceUnits',false,{Col:Col,Row:Row,TraceId:TraceId,SelectedUnitId:SelectedUnitId,ElementId:ElementId},succeededCallback,failedCallback,userContext); },
PostExportReportConfigDefinition:function(DefinitionId,Name,Col1,Col2,Col3,Col4,Col5,GraphType,Interval,PDFType,Memos,Notes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostExportReportConfigDefinition',false,{DefinitionId:DefinitionId,Name:Name,Col1:Col1,Col2:Col2,Col3:Col3,Col4:Col4,Col5:Col5,GraphType:GraphType,Interval:Interval,PDFType:PDFType,Memos:Memos,Notes:Notes},succeededCallback,failedCallback,userContext); },
PostExportReportConfig:function(DefinitionId,Col,Row,TraceId,UnitId,Min,Max,AutoScale,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostExportReportConfig',false,{DefinitionId:DefinitionId,Col:Col,Row:Row,TraceId:TraceId,UnitId:UnitId,Min:Min,Max:Max,AutoScale:AutoScale},succeededCallback,failedCallback,userContext); },
DeleteUserReportExportConfigDefinition:function(LoginId,DefinitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteUserReportExportConfigDefinition',false,{LoginId:LoginId,DefinitionId:DefinitionId},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) { WebService._staticInstance.set_path(value); }
WebService.get_path = function() { return WebService._staticInstance.get_path(); }
WebService.set_timeout = function(value) { WebService._staticInstance.set_timeout(value); }
WebService.get_timeout = function() { return WebService._staticInstance.get_timeout(); }
WebService.set_defaultUserContext = function(value) { WebService._staticInstance.set_defaultUserContext(value); }
WebService.get_defaultUserContext = function() { return WebService._staticInstance.get_defaultUserContext(); }
WebService.set_defaultSucceededCallback = function(value) { WebService._staticInstance.set_defaultSucceededCallback(value); }
WebService.get_defaultSucceededCallback = function() { return WebService._staticInstance.get_defaultSucceededCallback(); }
WebService.set_defaultFailedCallback = function(value) { WebService._staticInstance.set_defaultFailedCallback(value); }
WebService.get_defaultFailedCallback = function() { return WebService._staticInstance.get_defaultFailedCallback(); }
WebService.set_path("/WebService.asmx");
WebService.GetWell= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWell(WellId,onSuccess,onFailed,userContext); }
WebService.CheckAuth= function(onSuccess,onFailed,userContext) {WebService._staticInstance.CheckAuth(onSuccess,onFailed,userContext); }
WebService.CheckUsername= function(ClientId,EditUserId,Username,onSuccess,onFailed,userContext) {WebService._staticInstance.CheckUsername(ClientId,EditUserId,Username,onSuccess,onFailed,userContext); }
WebService.PostClientError= function(strError,onSuccess,onFailed,userContext) {WebService._staticInstance.PostClientError(strError,onSuccess,onFailed,userContext); }
WebService.SetSelectedSessionDates= function(Type,SelectedDates,onSuccess,onFailed,userContext) {WebService._staticInstance.SetSelectedSessionDates(Type,SelectedDates,onSuccess,onFailed,userContext); }
WebService.SetSelectedReportType= function(Type,ReportType,onSuccess,onFailed,userContext) {WebService._staticInstance.SetSelectedReportType(Type,ReportType,onSuccess,onFailed,userContext); }
WebService.ClearSelectedSessionDates= function(Type,onSuccess,onFailed,userContext) {WebService._staticInstance.ClearSelectedSessionDates(Type,onSuccess,onFailed,userContext); }
WebService.SetSessionWellId= function(LoginId,WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.SetSessionWellId(LoginId,WellId,onSuccess,onFailed,userContext); }
WebService.PostUserConfigDefName= function(DefinitionId,DefinitionName,MultiWell,onSuccess,onFailed,userContext) {WebService._staticInstance.PostUserConfigDefName(DefinitionId,DefinitionName,MultiWell,onSuccess,onFailed,userContext); }
WebService.DeleteConfigDef= function(DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.DeleteConfigDef(DefinitionId,onSuccess,onFailed,userContext); }
WebService.GetMobileTraces= function(LoginId,WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetMobileTraces(LoginId,WellId,onSuccess,onFailed,userContext); }
WebService.GetMobileTraceValue= function(LoginId,WellId,TraceId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetMobileTraceValue(LoginId,WellId,TraceId,onSuccess,onFailed,userContext); }
WebService.GetTraces= function(WellId,DefinitionId,MultiWell,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraces(WellId,DefinitionId,MultiWell,onSuccess,onFailed,userContext); }
WebService.PostTraceLocation= function(TraceId,Index,Section,DefinitionId,Dial,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceLocation(TraceId,Index,Section,DefinitionId,Dial,onSuccess,onFailed,userContext); }
WebService.GetRealTimeTraces= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetRealTimeTraces(onSuccess,onFailed,userContext); }
WebService.GetTraceValue= function(WellId,TraceId,DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraceValue(WellId,TraceId,DefinitionId,onSuccess,onFailed,userContext); }
WebService.GetPitsPumps= function(WellId,DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetPitsPumps(WellId,DefinitionId,onSuccess,onFailed,userContext); }
WebService.GetActivePumps= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetActivePumps(WellId,onSuccess,onFailed,userContext); }
WebService.GetValue= function(WellId,DefinitionId,TraceNumber,Index,ElementId,IsOnGraph,Alarms,onSuccess,onFailed,userContext) {WebService._staticInstance.GetValue(WellId,DefinitionId,TraceNumber,Index,ElementId,IsOnGraph,Alarms,onSuccess,onFailed,userContext); }
WebService.GetHistoricalImageURL= function(Traces,StartDate,EndDate,Interval,onSuccess,onFailed,userContext) {WebService._staticInstance.GetHistoricalImageURL(Traces,StartDate,EndDate,Interval,onSuccess,onFailed,userContext); }
WebService.GetSelectedTime= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetSelectedTime(onSuccess,onFailed,userContext); }
WebService.GetTraceGroups= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraceGroups(onSuccess,onFailed,userContext); }
WebService.GetTraces_ByGroup= function(UnitTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraces_ByGroup(UnitTypeId,onSuccess,onFailed,userContext); }
WebService.GetUnits_ByTrace= function(TraceId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetUnits_ByTrace(TraceId,onSuccess,onFailed,userContext); }
WebService.GetUnits_ByTrace_Short= function(TraceId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetUnits_ByTrace_Short(TraceId,onSuccess,onFailed,userContext); }
WebService.PostTraceUnits= function(TraceId,UnitId,DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceUnits(TraceId,UnitId,DefinitionId,onSuccess,onFailed,userContext); }
WebService.PostTraceScales= function(WellId,TraceId,DefinitionId,Min,Max,AutoScale,Reset,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceScales(WellId,TraceId,DefinitionId,Min,Max,AutoScale,Reset,onSuccess,onFailed,userContext); }
WebService.PostTraceAlarms= function(WellId,TraceId,DefinitionId,Min,Max,Reset,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceAlarms(WellId,TraceId,DefinitionId,Min,Max,Reset,onSuccess,onFailed,userContext); }
WebService.PostDefinitionRows= function(DefinitionId,Row1,Row2,Row3,onSuccess,onFailed,userContext) {WebService._staticInstance.PostDefinitionRows(DefinitionId,Row1,Row2,Row3,onSuccess,onFailed,userContext); }
WebService.GetDefinitionRows= function(LoginId,DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetDefinitionRows(LoginId,DefinitionId,onSuccess,onFailed,userContext); }
WebService.ResetUnits= function(onSuccess,onFailed,userContext) {WebService._staticInstance.ResetUnits(onSuccess,onFailed,userContext); }
WebService.GetSystemMessages= function(LoginId,FromLogin,onSuccess,onFailed,userContext) {WebService._staticInstance.GetSystemMessages(LoginId,FromLogin,onSuccess,onFailed,userContext); }
WebService.GetWells_WithRig= function(Status,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWells_WithRig(Status,onSuccess,onFailed,userContext); }
WebService.GetWells= function(Status,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWells(Status,onSuccess,onFailed,userContext); }
WebService.GetWellGroups= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWellGroups(WellId,onSuccess,onFailed,userContext); }
WebService.PostWellGroups= function(WellId,GroupIds,onSuccess,onFailed,userContext) {WebService._staticInstance.PostWellGroups(WellId,GroupIds,onSuccess,onFailed,userContext); }
WebService.GetWell3rdParties= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWell3rdParties(WellId,onSuccess,onFailed,userContext); }
WebService.GetWellClients= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetWellClients(WellId,onSuccess,onFailed,userContext); }
WebService.PostWellClients= function(WellId,ClientIds,ClientType,onSuccess,onFailed,userContext) {WebService._staticInstance.PostWellClients(WellId,ClientIds,ClientType,onSuccess,onFailed,userContext); }
WebService.PostWell3rdParty= function(WellId,ClientIds,onSuccess,onFailed,userContext) {WebService._staticInstance.PostWell3rdParty(WellId,ClientIds,onSuccess,onFailed,userContext); }
WebService.GetGroups= function(GroupTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetGroups(GroupTypeId,onSuccess,onFailed,userContext); }
WebService.GetClients= function(Type,onSuccess,onFailed,userContext) {WebService._staticInstance.GetClients(Type,onSuccess,onFailed,userContext); }
WebService.Get3rdParties= function(onSuccess,onFailed,userContext) {WebService._staticInstance.Get3rdParties(onSuccess,onFailed,userContext); }
WebService.PostGroup= function(GroupId,Name,Delete,GroupTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.PostGroup(GroupId,Name,Delete,GroupTypeId,onSuccess,onFailed,userContext); }
WebService.GetUsers= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetUsers(onSuccess,onFailed,userContext); }
WebService.GetUserWellGroups= function(UserId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetUserWellGroups(UserId,onSuccess,onFailed,userContext); }
WebService.PostUserWellGroups= function(UserId,GroupIds,onSuccess,onFailed,userContext) {WebService._staticInstance.PostUserWellGroups(UserId,GroupIds,onSuccess,onFailed,userContext); }
WebService.GetRigs= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigs(onSuccess,onFailed,userContext); }
WebService.GetRigGroups= function(RigId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigGroups(RigId,onSuccess,onFailed,userContext); }
WebService.PostRigGroups= function(RigId,GroupIds,onSuccess,onFailed,userContext) {WebService._staticInstance.PostRigGroups(RigId,GroupIds,onSuccess,onFailed,userContext); }
WebService.GetRigParts= function(RigId,PartTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigParts(RigId,PartTypeId,onSuccess,onFailed,userContext); }
WebService.GetRigPart= function(RigId,RigPartId,PartTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigPart(RigId,RigPartId,PartTypeId,onSuccess,onFailed,userContext); }
WebService.GetRigPartDetails= function(RigPartId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigPartDetails(RigPartId,onSuccess,onFailed,userContext); }
WebService.GetRigPartDetail= function(RigPartId,RigPartDetailId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRigPartDetail(RigPartId,RigPartDetailId,onSuccess,onFailed,userContext); }
WebService.PostRigPart= function(RigId,RigPartId,Name,PartTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.PostRigPart(RigId,RigPartId,Name,PartTypeId,onSuccess,onFailed,userContext); }
WebService.PostRigPartDetail= function(RigPartDetailId,RigPartId,Barcode,Status,Details,Quantity,onSuccess,onFailed,userContext) {WebService._staticInstance.PostRigPartDetail(RigPartDetailId,RigPartId,Barcode,Status,Details,Quantity,onSuccess,onFailed,userContext); }
WebService.GetExportSelections= function(WellId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetExportSelections(WellId,onSuccess,onFailed,userContext); }
WebService.PostExportSelections= function(WellId,Traces,onSuccess,onFailed,userContext) {WebService._staticInstance.PostExportSelections(WellId,Traces,onSuccess,onFailed,userContext); }
WebService.GetRole= function(RoleId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetRole(RoleId,onSuccess,onFailed,userContext); }
WebService.GetRoles= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetRoles(onSuccess,onFailed,userContext); }
WebService.GetClientRoleGroups= function(ClientId,UserId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetClientRoleGroups(ClientId,UserId,onSuccess,onFailed,userContext); }
WebService.GetGroupRoles= function(GroupId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetGroupRoles(GroupId,onSuccess,onFailed,userContext); }
WebService.PostRoleGroup= function(GroupId,GroupName,Delete,onSuccess,onFailed,userContext) {WebService._staticInstance.PostRoleGroup(GroupId,GroupName,Delete,onSuccess,onFailed,userContext); }
WebService.PostRoleGroupRoles= function(GroupId,RoleIds,onSuccess,onFailed,userContext) {WebService._staticInstance.PostRoleGroupRoles(GroupId,RoleIds,onSuccess,onFailed,userContext); }
WebService.PostMemo= function(Memo,MemoDateTime,onSuccess,onFailed,userContext) {WebService._staticInstance.PostMemo(Memo,MemoDateTime,onSuccess,onFailed,userContext); }
WebService.Export_PostSettings= function(PollInterval,UserId,LocalPath,NotificationAddresses,AutoTS,AutoMR,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_PostSettings(PollInterval,UserId,LocalPath,NotificationAddresses,AutoTS,AutoMR,onSuccess,onFailed,userContext); }
WebService.Export_PostSettings_V2= function(PollInterval,UserId,TSLocalPath,MRLocalPath,NotificationAddresses,AutoDownloadTS,AutoDownloadMR,TourSheetType,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_PostSettings_V2(PollInterval,UserId,TSLocalPath,MRLocalPath,NotificationAddresses,AutoDownloadTS,AutoDownloadMR,TourSheetType,onSuccess,onFailed,userContext); }
WebService.Export_GetNotificationAddresses= function(LoginId,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_GetNotificationAddresses(LoginId,onSuccess,onFailed,userContext); }
WebService.Export_DeleteNotificationAddresses= function(LoginId,Id,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_DeleteNotificationAddresses(LoginId,Id,onSuccess,onFailed,userContext); }
WebService.Export_PostPendingDownloadDates= function(LoginId,UserId,WellId,DownloadAsReady,SelectedDates,ExportTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_PostPendingDownloadDates(LoginId,UserId,WellId,DownloadAsReady,SelectedDates,ExportTypeId,onSuccess,onFailed,userContext); }
WebService.Export_PostStatuses= function(LoginId,UserId,StatusIds,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_PostStatuses(LoginId,UserId,StatusIds,onSuccess,onFailed,userContext); }
WebService.Export_GetSelectedDates= function(LoginId,WellId,ExportTypeId,onSuccess,onFailed,userContext) {WebService._staticInstance.Export_GetSelectedDates(LoginId,WellId,ExportTypeId,onSuccess,onFailed,userContext); }
WebService.PostTraceExportConfig= function(DefinitionId,Traces,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceExportConfig(DefinitionId,Traces,onSuccess,onFailed,userContext); }
WebService.GetTraceExportConfig= function(DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraceExportConfig(DefinitionId,onSuccess,onFailed,userContext); }
WebService.PostTraceExportConfigDefinition= function(DefinitionId,Name,Delete,onSuccess,onFailed,userContext) {WebService._staticInstance.PostTraceExportConfigDefinition(DefinitionId,Name,Delete,onSuccess,onFailed,userContext); }
WebService.GetTraceExportConfigDefinitions= function(onSuccess,onFailed,userContext) {WebService._staticInstance.GetTraceExportConfigDefinitions(onSuccess,onFailed,userContext); }
WebService.CalcSpeed= function(onSuccess,onFailed,userContext) {WebService._staticInstance.CalcSpeed(onSuccess,onFailed,userContext); }
WebService.GetExportReportConfig= function(ConfigType,onSuccess,onFailed,userContext) {WebService._staticInstance.GetExportReportConfig(ConfigType,onSuccess,onFailed,userContext); }
WebService.GetExportReportConfigTraceUnits= function(Col,Row,TraceId,SelectedUnitId,ElementId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetExportReportConfigTraceUnits(Col,Row,TraceId,SelectedUnitId,ElementId,onSuccess,onFailed,userContext); }
WebService.PostExportReportConfigDefinition= function(DefinitionId,Name,Col1,Col2,Col3,Col4,Col5,GraphType,Interval,PDFType,Memos,Notes,onSuccess,onFailed,userContext) {WebService._staticInstance.PostExportReportConfigDefinition(DefinitionId,Name,Col1,Col2,Col3,Col4,Col5,GraphType,Interval,PDFType,Memos,Notes,onSuccess,onFailed,userContext); }
WebService.PostExportReportConfig= function(DefinitionId,Col,Row,TraceId,UnitId,Min,Max,AutoScale,onSuccess,onFailed,userContext) {WebService._staticInstance.PostExportReportConfig(DefinitionId,Col,Row,TraceId,UnitId,Min,Max,AutoScale,onSuccess,onFailed,userContext); }
WebService.DeleteUserReportExportConfigDefinition= function(LoginId,DefinitionId,onSuccess,onFailed,userContext) {WebService._staticInstance.DeleteUserReportExportConfigDefinition(LoginId,DefinitionId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Well) === 'undefined') {
var Well=gtc("Well");
Well.registerClass('Well');
}
if (typeof(NameValuePair) === 'undefined') {
var NameValuePair=gtc("NameValuePair");
NameValuePair.registerClass('NameValuePair');
}
if (typeof(HGI) === 'undefined') {
var HGI=gtc("HGI");
HGI.registerClass('HGI');
}
if (typeof(TraceValue) === 'undefined') {
var TraceValue=gtc("TraceValue");
TraceValue.registerClass('TraceValue');
}
if (typeof(RigPart) === 'undefined') {
var RigPart=gtc("RigPart");
RigPart.registerClass('RigPart');
}
if (typeof(RigPartDetail) === 'undefined') {
var RigPartDetail=gtc("RigPartDetail");
RigPartDetail.registerClass('RigPartDetail');
}
if (typeof(Role) === 'undefined') {
var Role=gtc("Role");
Role.registerClass('Role');
}
if (typeof(ExportReportConfigTraceUnitsSetup) === 'undefined') {
var ExportReportConfigTraceUnitsSetup=gtc("ExportReportConfigTraceUnitsSetup");
ExportReportConfigTraceUnitsSetup.registerClass('ExportReportConfigTraceUnitsSetup');
}

