Type.registerNamespace('Chill.Services');
Chill.Services.HouseQuoteService=function() {
Chill.Services.HouseQuoteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Chill.Services.HouseQuoteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Chill.Services.HouseQuoteService._staticInstance.get_path();},
GetCountyList:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetCountyList',false,{},succeededCallback,failedCallback,userContext); },
GetTownList:function(countyCode,succeededCallback, failedCallback, userContext) {
/// <param name="countyCode" type="Number">System.Int32</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(), 'GetTownList',false,{countyCode:countyCode},succeededCallback,failedCallback,userContext); },
GetPropertyUseSubList:function(rootId,succeededCallback, failedCallback, userContext) {
/// <param name="rootId" type="Number">System.Int32</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(), 'GetPropertyUseSubList',false,{rootId:rootId},succeededCallback,failedCallback,userContext); }}
Chill.Services.HouseQuoteService.registerClass('Chill.Services.HouseQuoteService',Sys.Net.WebServiceProxy);
Chill.Services.HouseQuoteService._staticInstance = new Chill.Services.HouseQuoteService();
Chill.Services.HouseQuoteService.set_path = function(value) {
Chill.Services.HouseQuoteService._staticInstance.set_path(value); }
Chill.Services.HouseQuoteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Chill.Services.HouseQuoteService._staticInstance.get_path();}
Chill.Services.HouseQuoteService.set_timeout = function(value) {
Chill.Services.HouseQuoteService._staticInstance.set_timeout(value); }
Chill.Services.HouseQuoteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Chill.Services.HouseQuoteService._staticInstance.get_timeout(); }
Chill.Services.HouseQuoteService.set_defaultUserContext = function(value) { 
Chill.Services.HouseQuoteService._staticInstance.set_defaultUserContext(value); }
Chill.Services.HouseQuoteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Chill.Services.HouseQuoteService._staticInstance.get_defaultUserContext(); }
Chill.Services.HouseQuoteService.set_defaultSucceededCallback = function(value) { 
 Chill.Services.HouseQuoteService._staticInstance.set_defaultSucceededCallback(value); }
Chill.Services.HouseQuoteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Chill.Services.HouseQuoteService._staticInstance.get_defaultSucceededCallback(); }
Chill.Services.HouseQuoteService.set_defaultFailedCallback = function(value) { 
Chill.Services.HouseQuoteService._staticInstance.set_defaultFailedCallback(value); }
Chill.Services.HouseQuoteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Chill.Services.HouseQuoteService._staticInstance.get_defaultFailedCallback(); }
Chill.Services.HouseQuoteService.set_path("/Services/HouseQuoteService.asmx");
Chill.Services.HouseQuoteService.GetCountyList= function(onSuccess,onFailed,userContext) {
/// <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>
Chill.Services.HouseQuoteService._staticInstance.GetCountyList(onSuccess,onFailed,userContext); }
Chill.Services.HouseQuoteService.GetTownList= function(countyCode,onSuccess,onFailed,userContext) {
/// <param name="countyCode" type="Number">System.Int32</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>
Chill.Services.HouseQuoteService._staticInstance.GetTownList(countyCode,onSuccess,onFailed,userContext); }
Chill.Services.HouseQuoteService.GetPropertyUseSubList= function(rootId,onSuccess,onFailed,userContext) {
/// <param name="rootId" type="Number">System.Int32</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>
Chill.Services.HouseQuoteService._staticInstance.GetPropertyUseSubList(rootId,onSuccess,onFailed,userContext); }
