var DataDepotService=function() {
DataDepotService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DataDepotService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DataDepotService._staticInstance.get_path();},
GetTrack:function(trackID,succeededCallback, failedCallback, userContext) {
/// <param name="trackID" type="Number">System.Int64</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(), 'GetTrack',false,{trackID:trackID},succeededCallback,failedCallback,userContext); },
GetSeriesForTrack:function(SeriesID,beginDate,endDate,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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(), 'GetSeriesForTrack',false,{SeriesID:SeriesID,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
GetTrackID:function(SeriesID,beginDate,endDate,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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(), 'GetTrackID',false,{SeriesID:SeriesID,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
GetTrackIDz:function(SeriesID,beginDate,endDate,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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(), 'GetTrackIDz',false,{SeriesID:SeriesID,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
LoadTrackData:function(t,beginDate,endDate,succeededCallback, failedCallback, userContext) {
/// <param name="t" type="Number">System.Int64</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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(), 'LoadTrackData',false,{t:t,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
SaveAnnotations:function(SeriesID,TrackID,beginDate,endDate,pii,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="TrackID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" type="String">System.String</param>
/// <param name="pii" 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(), 'SaveAnnotations',false,{SeriesID:SeriesID,TrackID:TrackID,beginDate:beginDate,endDate:endDate,pii:pii},succeededCallback,failedCallback,userContext); },
GetTimeSeriesObject:function(SeriesID,beginDate,endDate,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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(), 'GetTimeSeriesObject',false,{SeriesID:SeriesID,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
GetDataPoints:function(SeriesID,d1,d2,succeededCallback, failedCallback, userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="d1" type="String">System.String</param>
/// <param name="d2" 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(), 'GetDataPoints',false,{SeriesID:SeriesID,d1:d1,d2:d2},succeededCallback,failedCallback,userContext); }}
DataDepotService.registerClass('DataDepotService',Sys.Net.WebServiceProxy);
DataDepotService._staticInstance = new DataDepotService();
DataDepotService.set_path = function(value) {
DataDepotService._staticInstance.set_path(value); }
DataDepotService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DataDepotService._staticInstance.get_path();}
DataDepotService.set_timeout = function(value) {
DataDepotService._staticInstance.set_timeout(value); }
DataDepotService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DataDepotService._staticInstance.get_timeout(); }
DataDepotService.set_defaultUserContext = function(value) { 
DataDepotService._staticInstance.set_defaultUserContext(value); }
DataDepotService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DataDepotService._staticInstance.get_defaultUserContext(); }
DataDepotService.set_defaultSucceededCallback = function(value) { 
 DataDepotService._staticInstance.set_defaultSucceededCallback(value); }
DataDepotService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DataDepotService._staticInstance.get_defaultSucceededCallback(); }
DataDepotService.set_defaultFailedCallback = function(value) { 
DataDepotService._staticInstance.set_defaultFailedCallback(value); }
DataDepotService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DataDepotService._staticInstance.get_defaultFailedCallback(); }
DataDepotService.set_path("/datadepot/DataDepotService.asmx");
DataDepotService.GetTrack= function(trackID,onSuccess,onFailed,userContext) {
/// <param name="trackID" type="Number">System.Int64</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>
DataDepotService._staticInstance.GetTrack(trackID,onSuccess,onFailed,userContext); }
DataDepotService.GetSeriesForTrack= function(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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>
DataDepotService._staticInstance.GetSeriesForTrack(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext); }
DataDepotService.GetTrackID= function(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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>
DataDepotService._staticInstance.GetTrackID(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext); }
DataDepotService.GetTrackIDz= function(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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>
DataDepotService._staticInstance.GetTrackIDz(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext); }
DataDepotService.LoadTrackData= function(t,beginDate,endDate,onSuccess,onFailed,userContext) {
/// <param name="t" type="Number">System.Int64</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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>
DataDepotService._staticInstance.LoadTrackData(t,beginDate,endDate,onSuccess,onFailed,userContext); }
DataDepotService.SaveAnnotations= function(SeriesID,TrackID,beginDate,endDate,pii,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="TrackID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" type="String">System.String</param>
/// <param name="pii" 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>
DataDepotService._staticInstance.SaveAnnotations(SeriesID,TrackID,beginDate,endDate,pii,onSuccess,onFailed,userContext); }
DataDepotService.GetTimeSeriesObject= function(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="beginDate" type="String">System.String</param>
/// <param name="endDate" 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>
DataDepotService._staticInstance.GetTimeSeriesObject(SeriesID,beginDate,endDate,onSuccess,onFailed,userContext); }
DataDepotService.GetDataPoints= function(SeriesID,d1,d2,onSuccess,onFailed,userContext) {
/// <param name="SeriesID" type="Number">System.Int32</param>
/// <param name="d1" type="String">System.String</param>
/// <param name="d2" 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>
DataDepotService._staticInstance.GetDataPoints(SeriesID,d1,d2,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SciScope.Data');
if (typeof(SciScope.Data.TimeSeries) === 'undefined') {
SciScope.Data.TimeSeries=gtc("SciScope.Data.TimeSeries");
SciScope.Data.TimeSeries.registerClass('SciScope.Data.TimeSeries');
}
Type.registerNamespace('datadepot');
if (typeof(datadepot.DataPoint) === 'undefined') {
datadepot.DataPoint=gtc("datadepot.DataPoint");
datadepot.DataPoint.registerClass('datadepot.DataPoint');
}
