123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240 |
- unit googlespectrum;
- {$MODE objfpc}
- {$H+}
- interface
- uses sysutils, classes, googleservice, restbase, googlebase;
- type
-
- //Top-level schema types
- TAntennaCharacteristics = Class;
- TDatabaseSpec = Class;
- TDbUpdateSpec = Class;
- TDeviceCapabilities = Class;
- TDeviceDescriptor = Class;
- TDeviceOwner = Class;
- TDeviceValidity = Class;
- TEventTime = Class;
- TFrequencyRange = Class;
- TGeoLocation = Class;
- TGeoLocationEllipse = Class;
- TGeoLocationPoint = Class;
- TGeoLocationPolygon = Class;
- TGeoSpectrumSchedule = Class;
- TPawsGetSpectrumBatchRequest = Class;
- TPawsGetSpectrumBatchResponse = Class;
- TPawsGetSpectrumRequest = Class;
- TPawsGetSpectrumResponse = Class;
- TPawsInitRequest = Class;
- TPawsInitResponse = Class;
- TPawsNotifySpectrumUseRequest = Class;
- TPawsNotifySpectrumUseResponse = Class;
- TPawsRegisterRequest = Class;
- TPawsRegisterResponse = Class;
- TPawsVerifyDeviceRequest = Class;
- TPawsVerifyDeviceResponse = Class;
- TRulesetInfo = Class;
- TSpectrumMessage = Class;
- TSpectrumSchedule = Class;
- TVcard = Class;
- TVcardAddress = Class;
- TVcardTelephone = Class;
- TVcardTypedText = Class;
- TAntennaCharacteristicsArray = Array of TAntennaCharacteristics;
- TDatabaseSpecArray = Array of TDatabaseSpec;
- TDbUpdateSpecArray = Array of TDbUpdateSpec;
- TDeviceCapabilitiesArray = Array of TDeviceCapabilities;
- TDeviceDescriptorArray = Array of TDeviceDescriptor;
- TDeviceOwnerArray = Array of TDeviceOwner;
- TDeviceValidityArray = Array of TDeviceValidity;
- TEventTimeArray = Array of TEventTime;
- TFrequencyRangeArray = Array of TFrequencyRange;
- TGeoLocationArray = Array of TGeoLocation;
- TGeoLocationEllipseArray = Array of TGeoLocationEllipse;
- TGeoLocationPointArray = Array of TGeoLocationPoint;
- TGeoLocationPolygonArray = Array of TGeoLocationPolygon;
- TGeoSpectrumScheduleArray = Array of TGeoSpectrumSchedule;
- TPawsGetSpectrumBatchRequestArray = Array of TPawsGetSpectrumBatchRequest;
- TPawsGetSpectrumBatchResponseArray = Array of TPawsGetSpectrumBatchResponse;
- TPawsGetSpectrumRequestArray = Array of TPawsGetSpectrumRequest;
- TPawsGetSpectrumResponseArray = Array of TPawsGetSpectrumResponse;
- TPawsInitRequestArray = Array of TPawsInitRequest;
- TPawsInitResponseArray = Array of TPawsInitResponse;
- TPawsNotifySpectrumUseRequestArray = Array of TPawsNotifySpectrumUseRequest;
- TPawsNotifySpectrumUseResponseArray = Array of TPawsNotifySpectrumUseResponse;
- TPawsRegisterRequestArray = Array of TPawsRegisterRequest;
- TPawsRegisterResponseArray = Array of TPawsRegisterResponse;
- TPawsVerifyDeviceRequestArray = Array of TPawsVerifyDeviceRequest;
- TPawsVerifyDeviceResponseArray = Array of TPawsVerifyDeviceResponse;
- TRulesetInfoArray = Array of TRulesetInfo;
- TSpectrumMessageArray = Array of TSpectrumMessage;
- TSpectrumScheduleArray = Array of TSpectrumSchedule;
- TVcardArray = Array of TVcard;
- TVcardAddressArray = Array of TVcardAddress;
- TVcardTelephoneArray = Array of TVcardTelephone;
- TVcardTypedTextArray = Array of TVcardTypedText;
- //Anonymous types, using auto-generated names
- TDbUpdateSpecTypedatabasesArray = Array of TDatabaseSpec;
- TDeviceCapabilitiesTypefrequencyRangesArray = Array of TFrequencyRange;
- TGeoLocationPolygonTypeexteriorArray = Array of TGeoLocationPoint;
- TGeoSpectrumScheduleTypespectrumSchedulesArray = Array of TSpectrumSchedule;
- TPawsGetSpectrumBatchRequestTypelocationsArray = Array of TGeoLocation;
- TPawsGetSpectrumBatchResponseTypegeoSpectrumSchedulesArray = Array of TGeoSpectrumSchedule;
- TPawsGetSpectrumResponseTypespectrumSchedulesArray = Array of TSpectrumSchedule;
- TPawsNotifySpectrumUseRequestTypespectraArray = Array of TSpectrumMessage;
- TPawsVerifyDeviceRequestTypedeviceDescsArray = Array of TDeviceDescriptor;
- TPawsVerifyDeviceResponseTypedeviceValiditiesArray = Array of TDeviceValidity;
- TSpectrumMessageTypefrequencyRangesArray = Array of TFrequencyRange;
- TSpectrumScheduleTypespectraArray = Array of TSpectrumMessage;
-
- { --------------------------------------------------------------------
- TAntennaCharacteristics
- --------------------------------------------------------------------}
-
- TAntennaCharacteristics = Class(TGoogleBaseObject)
- Private
- Fheight : double;
- FheightType : String;
- FheightUncertainty : double;
- Protected
- //Property setters
- Procedure Setheight(AIndex : Integer; const AValue : double); virtual;
- Procedure SetheightType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetheightUncertainty(AIndex : Integer; const AValue : double); virtual;
- Public
- Published
- Property height : double Index 0 Read Fheight Write Setheight;
- Property heightType : String Index 8 Read FheightType Write SetheightType;
- Property heightUncertainty : double Index 16 Read FheightUncertainty Write SetheightUncertainty;
- end;
- TAntennaCharacteristicsClass = Class of TAntennaCharacteristics;
-
- { --------------------------------------------------------------------
- TDatabaseSpec
- --------------------------------------------------------------------}
-
- TDatabaseSpec = Class(TGoogleBaseObject)
- Private
- Fname : String;
- Furi : String;
- Protected
- //Property setters
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Seturi(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property name : String Index 0 Read Fname Write Setname;
- Property uri : String Index 8 Read Furi Write Seturi;
- end;
- TDatabaseSpecClass = Class of TDatabaseSpec;
-
- { --------------------------------------------------------------------
- TDbUpdateSpec
- --------------------------------------------------------------------}
-
- TDbUpdateSpec = Class(TGoogleBaseObject)
- Private
- Fdatabases : TDbUpdateSpecTypedatabasesArray;
- Protected
- //Property setters
- Procedure Setdatabases(AIndex : Integer; const AValue : TDbUpdateSpecTypedatabasesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property databases : TDbUpdateSpecTypedatabasesArray Index 0 Read Fdatabases Write Setdatabases;
- end;
- TDbUpdateSpecClass = Class of TDbUpdateSpec;
-
- { --------------------------------------------------------------------
- TDeviceCapabilities
- --------------------------------------------------------------------}
-
- TDeviceCapabilities = Class(TGoogleBaseObject)
- Private
- FfrequencyRanges : TDeviceCapabilitiesTypefrequencyRangesArray;
- Protected
- //Property setters
- Procedure SetfrequencyRanges(AIndex : Integer; const AValue : TDeviceCapabilitiesTypefrequencyRangesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property frequencyRanges : TDeviceCapabilitiesTypefrequencyRangesArray Index 0 Read FfrequencyRanges Write SetfrequencyRanges;
- end;
- TDeviceCapabilitiesClass = Class of TDeviceCapabilities;
-
- { --------------------------------------------------------------------
- TDeviceDescriptor
- --------------------------------------------------------------------}
-
- TDeviceDescriptor = Class(TGoogleBaseObject)
- Private
- FetsiEnDeviceCategory : String;
- FetsiEnDeviceEmissionsClass : String;
- FetsiEnDeviceType : String;
- FetsiEnTechnologyId : String;
- FfccId : String;
- FfccTvbdDeviceType : String;
- FmanufacturerId : String;
- FmodelId : String;
- FrulesetIds : TStringArray;
- FserialNumber : String;
- Protected
- //Property setters
- Procedure SetetsiEnDeviceCategory(AIndex : Integer; const AValue : String); virtual;
- Procedure SetetsiEnDeviceEmissionsClass(AIndex : Integer; const AValue : String); virtual;
- Procedure SetetsiEnDeviceType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetetsiEnTechnologyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfccId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfccTvbdDeviceType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmanufacturerId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmodelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrulesetIds(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetserialNumber(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property etsiEnDeviceCategory : String Index 0 Read FetsiEnDeviceCategory Write SetetsiEnDeviceCategory;
- Property etsiEnDeviceEmissionsClass : String Index 8 Read FetsiEnDeviceEmissionsClass Write SetetsiEnDeviceEmissionsClass;
- Property etsiEnDeviceType : String Index 16 Read FetsiEnDeviceType Write SetetsiEnDeviceType;
- Property etsiEnTechnologyId : String Index 24 Read FetsiEnTechnologyId Write SetetsiEnTechnologyId;
- Property fccId : String Index 32 Read FfccId Write SetfccId;
- Property fccTvbdDeviceType : String Index 40 Read FfccTvbdDeviceType Write SetfccTvbdDeviceType;
- Property manufacturerId : String Index 48 Read FmanufacturerId Write SetmanufacturerId;
- Property modelId : String Index 56 Read FmodelId Write SetmodelId;
- Property rulesetIds : TStringArray Index 64 Read FrulesetIds Write SetrulesetIds;
- Property serialNumber : String Index 72 Read FserialNumber Write SetserialNumber;
- end;
- TDeviceDescriptorClass = Class of TDeviceDescriptor;
-
- { --------------------------------------------------------------------
- TDeviceOwner
- --------------------------------------------------------------------}
-
- TDeviceOwner = Class(TGoogleBaseObject)
- Private
- F_operator : TVcard;
- Fowner : TVcard;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Set_operator(AIndex : Integer; const AValue : TVcard); virtual;
- Procedure Setowner(AIndex : Integer; const AValue : TVcard); virtual;
- Public
- Published
- Property _operator : TVcard Index 0 Read F_operator Write Set_operator;
- Property owner : TVcard Index 8 Read Fowner Write Setowner;
- end;
- TDeviceOwnerClass = Class of TDeviceOwner;
-
- { --------------------------------------------------------------------
- TDeviceValidity
- --------------------------------------------------------------------}
-
- TDeviceValidity = Class(TGoogleBaseObject)
- Private
- FdeviceDesc : TDeviceDescriptor;
- FisValid : boolean;
- Freason : String;
- Protected
- //Property setters
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure SetisValid(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setreason(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property deviceDesc : TDeviceDescriptor Index 0 Read FdeviceDesc Write SetdeviceDesc;
- Property isValid : boolean Index 8 Read FisValid Write SetisValid;
- Property reason : String Index 16 Read Freason Write Setreason;
- end;
- TDeviceValidityClass = Class of TDeviceValidity;
-
- { --------------------------------------------------------------------
- TEventTime
- --------------------------------------------------------------------}
-
- TEventTime = Class(TGoogleBaseObject)
- Private
- FstartTime : String;
- FstopTime : String;
- Protected
- //Property setters
- Procedure SetstartTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstopTime(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property startTime : String Index 0 Read FstartTime Write SetstartTime;
- Property stopTime : String Index 8 Read FstopTime Write SetstopTime;
- end;
- TEventTimeClass = Class of TEventTime;
-
- { --------------------------------------------------------------------
- TFrequencyRange
- --------------------------------------------------------------------}
-
- TFrequencyRange = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FmaxPowerDBm : double;
- FstartHz : double;
- FstopHz : double;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmaxPowerDBm(AIndex : Integer; const AValue : double); virtual;
- Procedure SetstartHz(AIndex : Integer; const AValue : double); virtual;
- Procedure SetstopHz(AIndex : Integer; const AValue : double); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property maxPowerDBm : double Index 8 Read FmaxPowerDBm Write SetmaxPowerDBm;
- Property startHz : double Index 16 Read FstartHz Write SetstartHz;
- Property stopHz : double Index 24 Read FstopHz Write SetstopHz;
- end;
- TFrequencyRangeClass = Class of TFrequencyRange;
-
- { --------------------------------------------------------------------
- TGeoLocation
- --------------------------------------------------------------------}
-
- TGeoLocation = Class(TGoogleBaseObject)
- Private
- Fconfidence : integer;
- Fpoint : TGeoLocationEllipse;
- Fregion : TGeoLocationPolygon;
- Protected
- //Property setters
- Procedure Setconfidence(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setpoint(AIndex : Integer; const AValue : TGeoLocationEllipse); virtual;
- Procedure Setregion(AIndex : Integer; const AValue : TGeoLocationPolygon); virtual;
- Public
- Published
- Property confidence : integer Index 0 Read Fconfidence Write Setconfidence;
- Property point : TGeoLocationEllipse Index 8 Read Fpoint Write Setpoint;
- Property region : TGeoLocationPolygon Index 16 Read Fregion Write Setregion;
- end;
- TGeoLocationClass = Class of TGeoLocation;
-
- { --------------------------------------------------------------------
- TGeoLocationEllipse
- --------------------------------------------------------------------}
-
- TGeoLocationEllipse = Class(TGoogleBaseObject)
- Private
- Fcenter : TGeoLocationPoint;
- Forientation : double;
- FsemiMajorAxis : double;
- FsemiMinorAxis : double;
- Protected
- //Property setters
- Procedure Setcenter(AIndex : Integer; const AValue : TGeoLocationPoint); virtual;
- Procedure Setorientation(AIndex : Integer; const AValue : double); virtual;
- Procedure SetsemiMajorAxis(AIndex : Integer; const AValue : double); virtual;
- Procedure SetsemiMinorAxis(AIndex : Integer; const AValue : double); virtual;
- Public
- Published
- Property center : TGeoLocationPoint Index 0 Read Fcenter Write Setcenter;
- Property orientation : double Index 8 Read Forientation Write Setorientation;
- Property semiMajorAxis : double Index 16 Read FsemiMajorAxis Write SetsemiMajorAxis;
- Property semiMinorAxis : double Index 24 Read FsemiMinorAxis Write SetsemiMinorAxis;
- end;
- TGeoLocationEllipseClass = Class of TGeoLocationEllipse;
-
- { --------------------------------------------------------------------
- TGeoLocationPoint
- --------------------------------------------------------------------}
-
- TGeoLocationPoint = Class(TGoogleBaseObject)
- Private
- Flatitude : double;
- Flongitude : double;
- Protected
- //Property setters
- Procedure Setlatitude(AIndex : Integer; const AValue : double); virtual;
- Procedure Setlongitude(AIndex : Integer; const AValue : double); virtual;
- Public
- Published
- Property latitude : double Index 0 Read Flatitude Write Setlatitude;
- Property longitude : double Index 8 Read Flongitude Write Setlongitude;
- end;
- TGeoLocationPointClass = Class of TGeoLocationPoint;
-
- { --------------------------------------------------------------------
- TGeoLocationPolygon
- --------------------------------------------------------------------}
-
- TGeoLocationPolygon = Class(TGoogleBaseObject)
- Private
- Fexterior : TGeoLocationPolygonTypeexteriorArray;
- Protected
- //Property setters
- Procedure Setexterior(AIndex : Integer; const AValue : TGeoLocationPolygonTypeexteriorArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property exterior : TGeoLocationPolygonTypeexteriorArray Index 0 Read Fexterior Write Setexterior;
- end;
- TGeoLocationPolygonClass = Class of TGeoLocationPolygon;
-
- { --------------------------------------------------------------------
- TGeoSpectrumSchedule
- --------------------------------------------------------------------}
-
- TGeoSpectrumSchedule = Class(TGoogleBaseObject)
- Private
- Flocation : TGeoLocation;
- FspectrumSchedules : TGeoSpectrumScheduleTypespectrumSchedulesArray;
- Protected
- //Property setters
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoLocation); virtual;
- Procedure SetspectrumSchedules(AIndex : Integer; const AValue : TGeoSpectrumScheduleTypespectrumSchedulesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property location : TGeoLocation Index 0 Read Flocation Write Setlocation;
- Property spectrumSchedules : TGeoSpectrumScheduleTypespectrumSchedulesArray Index 8 Read FspectrumSchedules Write SetspectrumSchedules;
- end;
- TGeoSpectrumScheduleClass = Class of TGeoSpectrumSchedule;
-
- { --------------------------------------------------------------------
- TPawsGetSpectrumBatchRequest
- --------------------------------------------------------------------}
-
- TPawsGetSpectrumBatchRequest = Class(TGoogleBaseObject)
- Private
- Fantenna : TAntennaCharacteristics;
- Fcapabilities : TDeviceCapabilities;
- FdeviceDesc : TDeviceDescriptor;
- Flocations : TPawsGetSpectrumBatchRequestTypelocationsArray;
- FmasterDeviceDesc : TDeviceDescriptor;
- Fowner : TDeviceOwner;
- FrequestType : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics); virtual;
- Procedure Setcapabilities(AIndex : Integer; const AValue : TDeviceCapabilities); virtual;
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setlocations(AIndex : Integer; const AValue : TPawsGetSpectrumBatchRequestTypelocationsArray); virtual;
- Procedure SetmasterDeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setowner(AIndex : Integer; const AValue : TDeviceOwner); virtual;
- Procedure SetrequestType(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property antenna : TAntennaCharacteristics Index 0 Read Fantenna Write Setantenna;
- Property capabilities : TDeviceCapabilities Index 8 Read Fcapabilities Write Setcapabilities;
- Property deviceDesc : TDeviceDescriptor Index 16 Read FdeviceDesc Write SetdeviceDesc;
- Property locations : TPawsGetSpectrumBatchRequestTypelocationsArray Index 24 Read Flocations Write Setlocations;
- Property masterDeviceDesc : TDeviceDescriptor Index 32 Read FmasterDeviceDesc Write SetmasterDeviceDesc;
- Property owner : TDeviceOwner Index 40 Read Fowner Write Setowner;
- Property requestType : String Index 48 Read FrequestType Write SetrequestType;
- Property _type : String Index 56 Read F_type Write Set_type;
- Property version : String Index 64 Read Fversion Write Setversion;
- end;
- TPawsGetSpectrumBatchRequestClass = Class of TPawsGetSpectrumBatchRequest;
-
- { --------------------------------------------------------------------
- TPawsGetSpectrumBatchResponse
- --------------------------------------------------------------------}
-
- TPawsGetSpectrumBatchResponse = Class(TGoogleBaseObject)
- Private
- FdatabaseChange : TDbUpdateSpec;
- FdeviceDesc : TDeviceDescriptor;
- FgeoSpectrumSchedules : TPawsGetSpectrumBatchResponseTypegeoSpectrumSchedulesArray;
- Fkind : String;
- FmaxContiguousBwHz : double;
- FmaxTotalBwHz : double;
- FneedsSpectrumReport : boolean;
- FrulesetInfo : TRulesetInfo;
- Ftimestamp : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec); virtual;
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure SetgeoSpectrumSchedules(AIndex : Integer; const AValue : TPawsGetSpectrumBatchResponseTypegeoSpectrumSchedulesArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmaxContiguousBwHz(AIndex : Integer; const AValue : double); virtual;
- Procedure SetmaxTotalBwHz(AIndex : Integer; const AValue : double); virtual;
- Procedure SetneedsSpectrumReport(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo); virtual;
- Procedure Settimestamp(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property databaseChange : TDbUpdateSpec Index 0 Read FdatabaseChange Write SetdatabaseChange;
- Property deviceDesc : TDeviceDescriptor Index 8 Read FdeviceDesc Write SetdeviceDesc;
- Property geoSpectrumSchedules : TPawsGetSpectrumBatchResponseTypegeoSpectrumSchedulesArray Index 16 Read FgeoSpectrumSchedules Write SetgeoSpectrumSchedules;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property maxContiguousBwHz : double Index 32 Read FmaxContiguousBwHz Write SetmaxContiguousBwHz;
- Property maxTotalBwHz : double Index 40 Read FmaxTotalBwHz Write SetmaxTotalBwHz;
- Property needsSpectrumReport : boolean Index 48 Read FneedsSpectrumReport Write SetneedsSpectrumReport;
- Property rulesetInfo : TRulesetInfo Index 56 Read FrulesetInfo Write SetrulesetInfo;
- Property timestamp : String Index 64 Read Ftimestamp Write Settimestamp;
- Property _type : String Index 72 Read F_type Write Set_type;
- Property version : String Index 80 Read Fversion Write Setversion;
- end;
- TPawsGetSpectrumBatchResponseClass = Class of TPawsGetSpectrumBatchResponse;
-
- { --------------------------------------------------------------------
- TPawsGetSpectrumRequest
- --------------------------------------------------------------------}
-
- TPawsGetSpectrumRequest = Class(TGoogleBaseObject)
- Private
- Fantenna : TAntennaCharacteristics;
- Fcapabilities : TDeviceCapabilities;
- FdeviceDesc : TDeviceDescriptor;
- Flocation : TGeoLocation;
- FmasterDeviceDesc : TDeviceDescriptor;
- Fowner : TDeviceOwner;
- FrequestType : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics); virtual;
- Procedure Setcapabilities(AIndex : Integer; const AValue : TDeviceCapabilities); virtual;
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoLocation); virtual;
- Procedure SetmasterDeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setowner(AIndex : Integer; const AValue : TDeviceOwner); virtual;
- Procedure SetrequestType(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property antenna : TAntennaCharacteristics Index 0 Read Fantenna Write Setantenna;
- Property capabilities : TDeviceCapabilities Index 8 Read Fcapabilities Write Setcapabilities;
- Property deviceDesc : TDeviceDescriptor Index 16 Read FdeviceDesc Write SetdeviceDesc;
- Property location : TGeoLocation Index 24 Read Flocation Write Setlocation;
- Property masterDeviceDesc : TDeviceDescriptor Index 32 Read FmasterDeviceDesc Write SetmasterDeviceDesc;
- Property owner : TDeviceOwner Index 40 Read Fowner Write Setowner;
- Property requestType : String Index 48 Read FrequestType Write SetrequestType;
- Property _type : String Index 56 Read F_type Write Set_type;
- Property version : String Index 64 Read Fversion Write Setversion;
- end;
- TPawsGetSpectrumRequestClass = Class of TPawsGetSpectrumRequest;
-
- { --------------------------------------------------------------------
- TPawsGetSpectrumResponse
- --------------------------------------------------------------------}
-
- TPawsGetSpectrumResponse = Class(TGoogleBaseObject)
- Private
- FdatabaseChange : TDbUpdateSpec;
- FdeviceDesc : TDeviceDescriptor;
- Fkind : String;
- FmaxContiguousBwHz : double;
- FmaxTotalBwHz : double;
- FneedsSpectrumReport : boolean;
- FrulesetInfo : TRulesetInfo;
- FspectrumSchedules : TPawsGetSpectrumResponseTypespectrumSchedulesArray;
- Ftimestamp : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec); virtual;
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmaxContiguousBwHz(AIndex : Integer; const AValue : double); virtual;
- Procedure SetmaxTotalBwHz(AIndex : Integer; const AValue : double); virtual;
- Procedure SetneedsSpectrumReport(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo); virtual;
- Procedure SetspectrumSchedules(AIndex : Integer; const AValue : TPawsGetSpectrumResponseTypespectrumSchedulesArray); virtual;
- Procedure Settimestamp(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property databaseChange : TDbUpdateSpec Index 0 Read FdatabaseChange Write SetdatabaseChange;
- Property deviceDesc : TDeviceDescriptor Index 8 Read FdeviceDesc Write SetdeviceDesc;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property maxContiguousBwHz : double Index 24 Read FmaxContiguousBwHz Write SetmaxContiguousBwHz;
- Property maxTotalBwHz : double Index 32 Read FmaxTotalBwHz Write SetmaxTotalBwHz;
- Property needsSpectrumReport : boolean Index 40 Read FneedsSpectrumReport Write SetneedsSpectrumReport;
- Property rulesetInfo : TRulesetInfo Index 48 Read FrulesetInfo Write SetrulesetInfo;
- Property spectrumSchedules : TPawsGetSpectrumResponseTypespectrumSchedulesArray Index 56 Read FspectrumSchedules Write SetspectrumSchedules;
- Property timestamp : String Index 64 Read Ftimestamp Write Settimestamp;
- Property _type : String Index 72 Read F_type Write Set_type;
- Property version : String Index 80 Read Fversion Write Setversion;
- end;
- TPawsGetSpectrumResponseClass = Class of TPawsGetSpectrumResponse;
-
- { --------------------------------------------------------------------
- TPawsInitRequest
- --------------------------------------------------------------------}
-
- TPawsInitRequest = Class(TGoogleBaseObject)
- Private
- FdeviceDesc : TDeviceDescriptor;
- Flocation : TGeoLocation;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoLocation); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property deviceDesc : TDeviceDescriptor Index 0 Read FdeviceDesc Write SetdeviceDesc;
- Property location : TGeoLocation Index 8 Read Flocation Write Setlocation;
- Property _type : String Index 16 Read F_type Write Set_type;
- Property version : String Index 24 Read Fversion Write Setversion;
- end;
- TPawsInitRequestClass = Class of TPawsInitRequest;
-
- { --------------------------------------------------------------------
- TPawsInitResponse
- --------------------------------------------------------------------}
-
- TPawsInitResponse = Class(TGoogleBaseObject)
- Private
- FdatabaseChange : TDbUpdateSpec;
- Fkind : String;
- FrulesetInfo : TRulesetInfo;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property databaseChange : TDbUpdateSpec Index 0 Read FdatabaseChange Write SetdatabaseChange;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property rulesetInfo : TRulesetInfo Index 16 Read FrulesetInfo Write SetrulesetInfo;
- Property _type : String Index 24 Read F_type Write Set_type;
- Property version : String Index 32 Read Fversion Write Setversion;
- end;
- TPawsInitResponseClass = Class of TPawsInitResponse;
-
- { --------------------------------------------------------------------
- TPawsNotifySpectrumUseRequest
- --------------------------------------------------------------------}
-
- TPawsNotifySpectrumUseRequest = Class(TGoogleBaseObject)
- Private
- FdeviceDesc : TDeviceDescriptor;
- Flocation : TGeoLocation;
- Fspectra : TPawsNotifySpectrumUseRequestTypespectraArray;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoLocation); virtual;
- Procedure Setspectra(AIndex : Integer; const AValue : TPawsNotifySpectrumUseRequestTypespectraArray); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property deviceDesc : TDeviceDescriptor Index 0 Read FdeviceDesc Write SetdeviceDesc;
- Property location : TGeoLocation Index 8 Read Flocation Write Setlocation;
- Property spectra : TPawsNotifySpectrumUseRequestTypespectraArray Index 16 Read Fspectra Write Setspectra;
- Property _type : String Index 24 Read F_type Write Set_type;
- Property version : String Index 32 Read Fversion Write Setversion;
- end;
- TPawsNotifySpectrumUseRequestClass = Class of TPawsNotifySpectrumUseRequest;
-
- { --------------------------------------------------------------------
- TPawsNotifySpectrumUseResponse
- --------------------------------------------------------------------}
-
- TPawsNotifySpectrumUseResponse = Class(TGoogleBaseObject)
- Private
- Fkind : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property kind : String Index 0 Read Fkind Write Setkind;
- Property _type : String Index 8 Read F_type Write Set_type;
- Property version : String Index 16 Read Fversion Write Setversion;
- end;
- TPawsNotifySpectrumUseResponseClass = Class of TPawsNotifySpectrumUseResponse;
-
- { --------------------------------------------------------------------
- TPawsRegisterRequest
- --------------------------------------------------------------------}
-
- TPawsRegisterRequest = Class(TGoogleBaseObject)
- Private
- Fantenna : TAntennaCharacteristics;
- FdeviceDesc : TDeviceDescriptor;
- FdeviceOwner : TDeviceOwner;
- Flocation : TGeoLocation;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics); virtual;
- Procedure SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor); virtual;
- Procedure SetdeviceOwner(AIndex : Integer; const AValue : TDeviceOwner); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoLocation); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property antenna : TAntennaCharacteristics Index 0 Read Fantenna Write Setantenna;
- Property deviceDesc : TDeviceDescriptor Index 8 Read FdeviceDesc Write SetdeviceDesc;
- Property deviceOwner : TDeviceOwner Index 16 Read FdeviceOwner Write SetdeviceOwner;
- Property location : TGeoLocation Index 24 Read Flocation Write Setlocation;
- Property _type : String Index 32 Read F_type Write Set_type;
- Property version : String Index 40 Read Fversion Write Setversion;
- end;
- TPawsRegisterRequestClass = Class of TPawsRegisterRequest;
-
- { --------------------------------------------------------------------
- TPawsRegisterResponse
- --------------------------------------------------------------------}
-
- TPawsRegisterResponse = Class(TGoogleBaseObject)
- Private
- FdatabaseChange : TDbUpdateSpec;
- Fkind : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property databaseChange : TDbUpdateSpec Index 0 Read FdatabaseChange Write SetdatabaseChange;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property _type : String Index 16 Read F_type Write Set_type;
- Property version : String Index 24 Read Fversion Write Setversion;
- end;
- TPawsRegisterResponseClass = Class of TPawsRegisterResponse;
-
- { --------------------------------------------------------------------
- TPawsVerifyDeviceRequest
- --------------------------------------------------------------------}
-
- TPawsVerifyDeviceRequest = Class(TGoogleBaseObject)
- Private
- FdeviceDescs : TPawsVerifyDeviceRequestTypedeviceDescsArray;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdeviceDescs(AIndex : Integer; const AValue : TPawsVerifyDeviceRequestTypedeviceDescsArray); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property deviceDescs : TPawsVerifyDeviceRequestTypedeviceDescsArray Index 0 Read FdeviceDescs Write SetdeviceDescs;
- Property _type : String Index 8 Read F_type Write Set_type;
- Property version : String Index 16 Read Fversion Write Setversion;
- end;
- TPawsVerifyDeviceRequestClass = Class of TPawsVerifyDeviceRequest;
-
- { --------------------------------------------------------------------
- TPawsVerifyDeviceResponse
- --------------------------------------------------------------------}
-
- TPawsVerifyDeviceResponse = Class(TGoogleBaseObject)
- Private
- FdatabaseChange : TDbUpdateSpec;
- FdeviceValidities : TPawsVerifyDeviceResponseTypedeviceValiditiesArray;
- Fkind : String;
- F_type : String;
- Fversion : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec); virtual;
- Procedure SetdeviceValidities(AIndex : Integer; const AValue : TPawsVerifyDeviceResponseTypedeviceValiditiesArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property databaseChange : TDbUpdateSpec Index 0 Read FdatabaseChange Write SetdatabaseChange;
- Property deviceValidities : TPawsVerifyDeviceResponseTypedeviceValiditiesArray Index 8 Read FdeviceValidities Write SetdeviceValidities;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property _type : String Index 24 Read F_type Write Set_type;
- Property version : String Index 32 Read Fversion Write Setversion;
- end;
- TPawsVerifyDeviceResponseClass = Class of TPawsVerifyDeviceResponse;
-
- { --------------------------------------------------------------------
- TRulesetInfo
- --------------------------------------------------------------------}
-
- TRulesetInfo = Class(TGoogleBaseObject)
- Private
- Fauthority : String;
- FmaxLocationChange : double;
- FmaxPollingSecs : integer;
- FrulesetIds : TStringArray;
- Protected
- //Property setters
- Procedure Setauthority(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmaxLocationChange(AIndex : Integer; const AValue : double); virtual;
- Procedure SetmaxPollingSecs(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetrulesetIds(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property authority : String Index 0 Read Fauthority Write Setauthority;
- Property maxLocationChange : double Index 8 Read FmaxLocationChange Write SetmaxLocationChange;
- Property maxPollingSecs : integer Index 16 Read FmaxPollingSecs Write SetmaxPollingSecs;
- Property rulesetIds : TStringArray Index 24 Read FrulesetIds Write SetrulesetIds;
- end;
- TRulesetInfoClass = Class of TRulesetInfo;
-
- { --------------------------------------------------------------------
- TSpectrumMessage
- --------------------------------------------------------------------}
-
- TSpectrumMessage = Class(TGoogleBaseObject)
- Private
- Fbandwidth : double;
- FfrequencyRanges : TSpectrumMessageTypefrequencyRangesArray;
- Protected
- //Property setters
- Procedure Setbandwidth(AIndex : Integer; const AValue : double); virtual;
- Procedure SetfrequencyRanges(AIndex : Integer; const AValue : TSpectrumMessageTypefrequencyRangesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property bandwidth : double Index 0 Read Fbandwidth Write Setbandwidth;
- Property frequencyRanges : TSpectrumMessageTypefrequencyRangesArray Index 8 Read FfrequencyRanges Write SetfrequencyRanges;
- end;
- TSpectrumMessageClass = Class of TSpectrumMessage;
-
- { --------------------------------------------------------------------
- TSpectrumSchedule
- --------------------------------------------------------------------}
-
- TSpectrumSchedule = Class(TGoogleBaseObject)
- Private
- FeventTime : TEventTime;
- Fspectra : TSpectrumScheduleTypespectraArray;
- Protected
- //Property setters
- Procedure SeteventTime(AIndex : Integer; const AValue : TEventTime); virtual;
- Procedure Setspectra(AIndex : Integer; const AValue : TSpectrumScheduleTypespectraArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property eventTime : TEventTime Index 0 Read FeventTime Write SeteventTime;
- Property spectra : TSpectrumScheduleTypespectraArray Index 8 Read Fspectra Write Setspectra;
- end;
- TSpectrumScheduleClass = Class of TSpectrumSchedule;
-
- { --------------------------------------------------------------------
- TVcard
- --------------------------------------------------------------------}
-
- TVcard = Class(TGoogleBaseObject)
- Private
- Fadr : TVcardAddress;
- Femail : TVcardTypedText;
- Ffn : String;
- Forg : TVcardTypedText;
- Ftel : TVcardTelephone;
- Protected
- //Property setters
- Procedure Setadr(AIndex : Integer; const AValue : TVcardAddress); virtual;
- Procedure Setemail(AIndex : Integer; const AValue : TVcardTypedText); virtual;
- Procedure Setfn(AIndex : Integer; const AValue : String); virtual;
- Procedure Setorg(AIndex : Integer; const AValue : TVcardTypedText); virtual;
- Procedure Settel(AIndex : Integer; const AValue : TVcardTelephone); virtual;
- Public
- Published
- Property adr : TVcardAddress Index 0 Read Fadr Write Setadr;
- Property email : TVcardTypedText Index 8 Read Femail Write Setemail;
- Property fn : String Index 16 Read Ffn Write Setfn;
- Property org : TVcardTypedText Index 24 Read Forg Write Setorg;
- Property tel : TVcardTelephone Index 32 Read Ftel Write Settel;
- end;
- TVcardClass = Class of TVcard;
-
- { --------------------------------------------------------------------
- TVcardAddress
- --------------------------------------------------------------------}
-
- TVcardAddress = Class(TGoogleBaseObject)
- Private
- Fcode : String;
- Fcountry : String;
- Flocality : String;
- Fpobox : String;
- Fregion : String;
- Fstreet : String;
- Protected
- //Property setters
- Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
- Procedure Setcountry(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocality(AIndex : Integer; const AValue : String); virtual;
- Procedure Setpobox(AIndex : Integer; const AValue : String); virtual;
- Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstreet(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property code : String Index 0 Read Fcode Write Setcode;
- Property country : String Index 8 Read Fcountry Write Setcountry;
- Property locality : String Index 16 Read Flocality Write Setlocality;
- Property pobox : String Index 24 Read Fpobox Write Setpobox;
- Property region : String Index 32 Read Fregion Write Setregion;
- Property street : String Index 40 Read Fstreet Write Setstreet;
- end;
- TVcardAddressClass = Class of TVcardAddress;
-
- { --------------------------------------------------------------------
- TVcardTelephone
- --------------------------------------------------------------------}
-
- TVcardTelephone = Class(TGoogleBaseObject)
- Private
- Furi : String;
- Protected
- //Property setters
- Procedure Seturi(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property uri : String Index 0 Read Furi Write Seturi;
- end;
- TVcardTelephoneClass = Class of TVcardTelephone;
-
- { --------------------------------------------------------------------
- TVcardTypedText
- --------------------------------------------------------------------}
-
- TVcardTypedText = Class(TGoogleBaseObject)
- Private
- Ftext : String;
- Protected
- //Property setters
- Procedure Settext(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property text : String Index 0 Read Ftext Write Settext;
- end;
- TVcardTypedTextClass = Class of TVcardTypedText;
-
- { --------------------------------------------------------------------
- TPawsResource
- --------------------------------------------------------------------}
-
- TPawsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function GetSpectrum(aPawsGetSpectrumRequest : TPawsGetSpectrumRequest) : TPawsGetSpectrumResponse;
- Function GetSpectrumBatch(aPawsGetSpectrumBatchRequest : TPawsGetSpectrumBatchRequest) : TPawsGetSpectrumBatchResponse;
- Function Init(aPawsInitRequest : TPawsInitRequest) : TPawsInitResponse;
- Function NotifySpectrumUse(aPawsNotifySpectrumUseRequest : TPawsNotifySpectrumUseRequest) : TPawsNotifySpectrumUseResponse;
- Function Register(aPawsRegisterRequest : TPawsRegisterRequest) : TPawsRegisterResponse;
- Function VerifyDevice(aPawsVerifyDeviceRequest : TPawsVerifyDeviceRequest) : TPawsVerifyDeviceResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TSpectrumAPI
- --------------------------------------------------------------------}
-
- TSpectrumAPI = Class(TGoogleAPI)
- Private
- FPawsInstance : TPawsResource;
- Function GetPawsInstance : TPawsResource;virtual;
- Public
- //Override class functions with API info
- Class Function APIName : String; override;
- Class Function APIVersion : String; override;
- Class Function APIRevision : String; override;
- Class Function APIID : String; override;
- Class Function APITitle : String; override;
- Class Function APIDescription : String; override;
- Class Function APIOwnerDomain : String; override;
- Class Function APIOwnerName : String; override;
- Class Function APIIcon16 : String; override;
- Class Function APIIcon32 : String; override;
- Class Function APIdocumentationLink : String; override;
- Class Function APIrootUrl : string; override;
- Class Function APIbasePath : string;override;
- Class Function APIbaseURL : String;override;
- Class Function APIProtocol : string;override;
- Class Function APIservicePath : string;override;
- Class Function APIbatchPath : String;override;
- Class Function APIAuthScopes : TScopeInfoArray;override;
- Class Function APINeedsAuth : Boolean;override;
- Class Procedure RegisterAPIResources; override;
- //Add create function for resources
- Function CreatePawsResource(AOwner : TComponent) : TPawsResource;virtual;overload;
- Function CreatePawsResource : TPawsResource;virtual;overload;
- //Add default on-demand instances for resources
- Property PawsResource : TPawsResource Read GetPawsInstance;
- end;
- implementation
- { --------------------------------------------------------------------
- TAntennaCharacteristics
- --------------------------------------------------------------------}
- Procedure TAntennaCharacteristics.Setheight(AIndex : Integer; const AValue : double);
- begin
- If (Fheight=AValue) then exit;
- Fheight:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAntennaCharacteristics.SetheightType(AIndex : Integer; const AValue : String);
- begin
- If (FheightType=AValue) then exit;
- FheightType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAntennaCharacteristics.SetheightUncertainty(AIndex : Integer; const AValue : double);
- begin
- If (FheightUncertainty=AValue) then exit;
- FheightUncertainty:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDatabaseSpec
- --------------------------------------------------------------------}
- Procedure TDatabaseSpec.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatabaseSpec.Seturi(AIndex : Integer; const AValue : String);
- begin
- If (Furi=AValue) then exit;
- Furi:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDbUpdateSpec
- --------------------------------------------------------------------}
- Procedure TDbUpdateSpec.Setdatabases(AIndex : Integer; const AValue : TDbUpdateSpecTypedatabasesArray);
- begin
- If (Fdatabases=AValue) then exit;
- Fdatabases:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TDbUpdateSpec.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'databases' : SetLength(Fdatabases,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDeviceCapabilities
- --------------------------------------------------------------------}
- Procedure TDeviceCapabilities.SetfrequencyRanges(AIndex : Integer; const AValue : TDeviceCapabilitiesTypefrequencyRangesArray);
- begin
- If (FfrequencyRanges=AValue) then exit;
- FfrequencyRanges:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TDeviceCapabilities.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'frequencyranges' : SetLength(FfrequencyRanges,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDeviceDescriptor
- --------------------------------------------------------------------}
- Procedure TDeviceDescriptor.SetetsiEnDeviceCategory(AIndex : Integer; const AValue : String);
- begin
- If (FetsiEnDeviceCategory=AValue) then exit;
- FetsiEnDeviceCategory:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetetsiEnDeviceEmissionsClass(AIndex : Integer; const AValue : String);
- begin
- If (FetsiEnDeviceEmissionsClass=AValue) then exit;
- FetsiEnDeviceEmissionsClass:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetetsiEnDeviceType(AIndex : Integer; const AValue : String);
- begin
- If (FetsiEnDeviceType=AValue) then exit;
- FetsiEnDeviceType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetetsiEnTechnologyId(AIndex : Integer; const AValue : String);
- begin
- If (FetsiEnTechnologyId=AValue) then exit;
- FetsiEnTechnologyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetfccId(AIndex : Integer; const AValue : String);
- begin
- If (FfccId=AValue) then exit;
- FfccId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetfccTvbdDeviceType(AIndex : Integer; const AValue : String);
- begin
- If (FfccTvbdDeviceType=AValue) then exit;
- FfccTvbdDeviceType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetmanufacturerId(AIndex : Integer; const AValue : String);
- begin
- If (FmanufacturerId=AValue) then exit;
- FmanufacturerId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetmodelId(AIndex : Integer; const AValue : String);
- begin
- If (FmodelId=AValue) then exit;
- FmodelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetrulesetIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FrulesetIds=AValue) then exit;
- FrulesetIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceDescriptor.SetserialNumber(AIndex : Integer; const AValue : String);
- begin
- If (FserialNumber=AValue) then exit;
- FserialNumber:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TDeviceDescriptor.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'rulesetids' : SetLength(FrulesetIds,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDeviceOwner
- --------------------------------------------------------------------}
- Procedure TDeviceOwner.Set_operator(AIndex : Integer; const AValue : TVcard);
- begin
- If (F_operator=AValue) then exit;
- F_operator:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceOwner.Setowner(AIndex : Integer; const AValue : TVcard);
- begin
- If (Fowner=AValue) then exit;
- Fowner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TDeviceOwner.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_operator' : Result:='operator';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TDeviceValidity
- --------------------------------------------------------------------}
- Procedure TDeviceValidity.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceValidity.SetisValid(AIndex : Integer; const AValue : boolean);
- begin
- If (FisValid=AValue) then exit;
- FisValid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDeviceValidity.Setreason(AIndex : Integer; const AValue : String);
- begin
- If (Freason=AValue) then exit;
- Freason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TEventTime
- --------------------------------------------------------------------}
- Procedure TEventTime.SetstartTime(AIndex : Integer; const AValue : String);
- begin
- If (FstartTime=AValue) then exit;
- FstartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEventTime.SetstopTime(AIndex : Integer; const AValue : String);
- begin
- If (FstopTime=AValue) then exit;
- FstopTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFrequencyRange
- --------------------------------------------------------------------}
- Procedure TFrequencyRange.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFrequencyRange.SetmaxPowerDBm(AIndex : Integer; const AValue : double);
- begin
- If (FmaxPowerDBm=AValue) then exit;
- FmaxPowerDBm:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFrequencyRange.SetstartHz(AIndex : Integer; const AValue : double);
- begin
- If (FstartHz=AValue) then exit;
- FstartHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFrequencyRange.SetstopHz(AIndex : Integer; const AValue : double);
- begin
- If (FstopHz=AValue) then exit;
- FstopHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGeoLocation
- --------------------------------------------------------------------}
- Procedure TGeoLocation.Setconfidence(AIndex : Integer; const AValue : integer);
- begin
- If (Fconfidence=AValue) then exit;
- Fconfidence:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocation.Setpoint(AIndex : Integer; const AValue : TGeoLocationEllipse);
- begin
- If (Fpoint=AValue) then exit;
- Fpoint:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocation.Setregion(AIndex : Integer; const AValue : TGeoLocationPolygon);
- begin
- If (Fregion=AValue) then exit;
- Fregion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGeoLocationEllipse
- --------------------------------------------------------------------}
- Procedure TGeoLocationEllipse.Setcenter(AIndex : Integer; const AValue : TGeoLocationPoint);
- begin
- If (Fcenter=AValue) then exit;
- Fcenter:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocationEllipse.Setorientation(AIndex : Integer; const AValue : double);
- begin
- If (Forientation=AValue) then exit;
- Forientation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocationEllipse.SetsemiMajorAxis(AIndex : Integer; const AValue : double);
- begin
- If (FsemiMajorAxis=AValue) then exit;
- FsemiMajorAxis:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocationEllipse.SetsemiMinorAxis(AIndex : Integer; const AValue : double);
- begin
- If (FsemiMinorAxis=AValue) then exit;
- FsemiMinorAxis:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGeoLocationPoint
- --------------------------------------------------------------------}
- Procedure TGeoLocationPoint.Setlatitude(AIndex : Integer; const AValue : double);
- begin
- If (Flatitude=AValue) then exit;
- Flatitude:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoLocationPoint.Setlongitude(AIndex : Integer; const AValue : double);
- begin
- If (Flongitude=AValue) then exit;
- Flongitude:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGeoLocationPolygon
- --------------------------------------------------------------------}
- Procedure TGeoLocationPolygon.Setexterior(AIndex : Integer; const AValue : TGeoLocationPolygonTypeexteriorArray);
- begin
- If (Fexterior=AValue) then exit;
- Fexterior:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGeoLocationPolygon.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'exterior' : SetLength(Fexterior,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGeoSpectrumSchedule
- --------------------------------------------------------------------}
- Procedure TGeoSpectrumSchedule.Setlocation(AIndex : Integer; const AValue : TGeoLocation);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoSpectrumSchedule.SetspectrumSchedules(AIndex : Integer; const AValue : TGeoSpectrumScheduleTypespectrumSchedulesArray);
- begin
- If (FspectrumSchedules=AValue) then exit;
- FspectrumSchedules:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGeoSpectrumSchedule.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'spectrumschedules' : SetLength(FspectrumSchedules,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsGetSpectrumBatchRequest
- --------------------------------------------------------------------}
- Procedure TPawsGetSpectrumBatchRequest.Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics);
- begin
- If (Fantenna=AValue) then exit;
- Fantenna:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.Setcapabilities(AIndex : Integer; const AValue : TDeviceCapabilities);
- begin
- If (Fcapabilities=AValue) then exit;
- Fcapabilities:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.Setlocations(AIndex : Integer; const AValue : TPawsGetSpectrumBatchRequestTypelocationsArray);
- begin
- If (Flocations=AValue) then exit;
- Flocations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.SetmasterDeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FmasterDeviceDesc=AValue) then exit;
- FmasterDeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.Setowner(AIndex : Integer; const AValue : TDeviceOwner);
- begin
- If (Fowner=AValue) then exit;
- Fowner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.SetrequestType(AIndex : Integer; const AValue : String);
- begin
- If (FrequestType=AValue) then exit;
- FrequestType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsGetSpectrumBatchRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsGetSpectrumBatchRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'locations' : SetLength(Flocations,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsGetSpectrumBatchResponse
- --------------------------------------------------------------------}
- Procedure TPawsGetSpectrumBatchResponse.SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec);
- begin
- If (FdatabaseChange=AValue) then exit;
- FdatabaseChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetgeoSpectrumSchedules(AIndex : Integer; const AValue : TPawsGetSpectrumBatchResponseTypegeoSpectrumSchedulesArray);
- begin
- If (FgeoSpectrumSchedules=AValue) then exit;
- FgeoSpectrumSchedules:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetmaxContiguousBwHz(AIndex : Integer; const AValue : double);
- begin
- If (FmaxContiguousBwHz=AValue) then exit;
- FmaxContiguousBwHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetmaxTotalBwHz(AIndex : Integer; const AValue : double);
- begin
- If (FmaxTotalBwHz=AValue) then exit;
- FmaxTotalBwHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetneedsSpectrumReport(AIndex : Integer; const AValue : boolean);
- begin
- If (FneedsSpectrumReport=AValue) then exit;
- FneedsSpectrumReport:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo);
- begin
- If (FrulesetInfo=AValue) then exit;
- FrulesetInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.Settimestamp(AIndex : Integer; const AValue : String);
- begin
- If (Ftimestamp=AValue) then exit;
- Ftimestamp:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumBatchResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsGetSpectrumBatchResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsGetSpectrumBatchResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'geospectrumschedules' : SetLength(FgeoSpectrumSchedules,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsGetSpectrumRequest
- --------------------------------------------------------------------}
- Procedure TPawsGetSpectrumRequest.Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics);
- begin
- If (Fantenna=AValue) then exit;
- Fantenna:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.Setcapabilities(AIndex : Integer; const AValue : TDeviceCapabilities);
- begin
- If (Fcapabilities=AValue) then exit;
- Fcapabilities:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.Setlocation(AIndex : Integer; const AValue : TGeoLocation);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.SetmasterDeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FmasterDeviceDesc=AValue) then exit;
- FmasterDeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.Setowner(AIndex : Integer; const AValue : TDeviceOwner);
- begin
- If (Fowner=AValue) then exit;
- Fowner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.SetrequestType(AIndex : Integer; const AValue : String);
- begin
- If (FrequestType=AValue) then exit;
- FrequestType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsGetSpectrumRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsGetSpectrumResponse
- --------------------------------------------------------------------}
- Procedure TPawsGetSpectrumResponse.SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec);
- begin
- If (FdatabaseChange=AValue) then exit;
- FdatabaseChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetmaxContiguousBwHz(AIndex : Integer; const AValue : double);
- begin
- If (FmaxContiguousBwHz=AValue) then exit;
- FmaxContiguousBwHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetmaxTotalBwHz(AIndex : Integer; const AValue : double);
- begin
- If (FmaxTotalBwHz=AValue) then exit;
- FmaxTotalBwHz:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetneedsSpectrumReport(AIndex : Integer; const AValue : boolean);
- begin
- If (FneedsSpectrumReport=AValue) then exit;
- FneedsSpectrumReport:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo);
- begin
- If (FrulesetInfo=AValue) then exit;
- FrulesetInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.SetspectrumSchedules(AIndex : Integer; const AValue : TPawsGetSpectrumResponseTypespectrumSchedulesArray);
- begin
- If (FspectrumSchedules=AValue) then exit;
- FspectrumSchedules:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.Settimestamp(AIndex : Integer; const AValue : String);
- begin
- If (Ftimestamp=AValue) then exit;
- Ftimestamp:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsGetSpectrumResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsGetSpectrumResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsGetSpectrumResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'spectrumschedules' : SetLength(FspectrumSchedules,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsInitRequest
- --------------------------------------------------------------------}
- Procedure TPawsInitRequest.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitRequest.Setlocation(AIndex : Integer; const AValue : TGeoLocation);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsInitRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsInitResponse
- --------------------------------------------------------------------}
- Procedure TPawsInitResponse.SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec);
- begin
- If (FdatabaseChange=AValue) then exit;
- FdatabaseChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitResponse.SetrulesetInfo(AIndex : Integer; const AValue : TRulesetInfo);
- begin
- If (FrulesetInfo=AValue) then exit;
- FrulesetInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsInitResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsInitResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsNotifySpectrumUseRequest
- --------------------------------------------------------------------}
- Procedure TPawsNotifySpectrumUseRequest.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseRequest.Setlocation(AIndex : Integer; const AValue : TGeoLocation);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseRequest.Setspectra(AIndex : Integer; const AValue : TPawsNotifySpectrumUseRequestTypespectraArray);
- begin
- If (Fspectra=AValue) then exit;
- Fspectra:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsNotifySpectrumUseRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsNotifySpectrumUseRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'spectra' : SetLength(Fspectra,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsNotifySpectrumUseResponse
- --------------------------------------------------------------------}
- Procedure TPawsNotifySpectrumUseResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsNotifySpectrumUseResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsNotifySpectrumUseResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsRegisterRequest
- --------------------------------------------------------------------}
- Procedure TPawsRegisterRequest.Setantenna(AIndex : Integer; const AValue : TAntennaCharacteristics);
- begin
- If (Fantenna=AValue) then exit;
- Fantenna:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterRequest.SetdeviceDesc(AIndex : Integer; const AValue : TDeviceDescriptor);
- begin
- If (FdeviceDesc=AValue) then exit;
- FdeviceDesc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterRequest.SetdeviceOwner(AIndex : Integer; const AValue : TDeviceOwner);
- begin
- If (FdeviceOwner=AValue) then exit;
- FdeviceOwner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterRequest.Setlocation(AIndex : Integer; const AValue : TGeoLocation);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsRegisterRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsRegisterResponse
- --------------------------------------------------------------------}
- Procedure TPawsRegisterResponse.SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec);
- begin
- If (FdatabaseChange=AValue) then exit;
- FdatabaseChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsRegisterResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsRegisterResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPawsVerifyDeviceRequest
- --------------------------------------------------------------------}
- Procedure TPawsVerifyDeviceRequest.SetdeviceDescs(AIndex : Integer; const AValue : TPawsVerifyDeviceRequestTypedeviceDescsArray);
- begin
- If (FdeviceDescs=AValue) then exit;
- FdeviceDescs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceRequest.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceRequest.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsVerifyDeviceRequest.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsVerifyDeviceRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'devicedescs' : SetLength(FdeviceDescs,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPawsVerifyDeviceResponse
- --------------------------------------------------------------------}
- Procedure TPawsVerifyDeviceResponse.SetdatabaseChange(AIndex : Integer; const AValue : TDbUpdateSpec);
- begin
- If (FdatabaseChange=AValue) then exit;
- FdatabaseChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceResponse.SetdeviceValidities(AIndex : Integer; const AValue : TPawsVerifyDeviceResponseTypedeviceValiditiesArray);
- begin
- If (FdeviceValidities=AValue) then exit;
- FdeviceValidities:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceResponse.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPawsVerifyDeviceResponse.Setversion(AIndex : Integer; const AValue : String);
- begin
- If (Fversion=AValue) then exit;
- Fversion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPawsVerifyDeviceResponse.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPawsVerifyDeviceResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'devicevalidities' : SetLength(FdeviceValidities,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TRulesetInfo
- --------------------------------------------------------------------}
- Procedure TRulesetInfo.Setauthority(AIndex : Integer; const AValue : String);
- begin
- If (Fauthority=AValue) then exit;
- Fauthority:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRulesetInfo.SetmaxLocationChange(AIndex : Integer; const AValue : double);
- begin
- If (FmaxLocationChange=AValue) then exit;
- FmaxLocationChange:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRulesetInfo.SetmaxPollingSecs(AIndex : Integer; const AValue : integer);
- begin
- If (FmaxPollingSecs=AValue) then exit;
- FmaxPollingSecs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRulesetInfo.SetrulesetIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FrulesetIds=AValue) then exit;
- FrulesetIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TRulesetInfo.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'rulesetids' : SetLength(FrulesetIds,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSpectrumMessage
- --------------------------------------------------------------------}
- Procedure TSpectrumMessage.Setbandwidth(AIndex : Integer; const AValue : double);
- begin
- If (Fbandwidth=AValue) then exit;
- Fbandwidth:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSpectrumMessage.SetfrequencyRanges(AIndex : Integer; const AValue : TSpectrumMessageTypefrequencyRangesArray);
- begin
- If (FfrequencyRanges=AValue) then exit;
- FfrequencyRanges:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSpectrumMessage.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'frequencyranges' : SetLength(FfrequencyRanges,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSpectrumSchedule
- --------------------------------------------------------------------}
- Procedure TSpectrumSchedule.SeteventTime(AIndex : Integer; const AValue : TEventTime);
- begin
- If (FeventTime=AValue) then exit;
- FeventTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSpectrumSchedule.Setspectra(AIndex : Integer; const AValue : TSpectrumScheduleTypespectraArray);
- begin
- If (Fspectra=AValue) then exit;
- Fspectra:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSpectrumSchedule.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'spectra' : SetLength(Fspectra,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVcard
- --------------------------------------------------------------------}
- Procedure TVcard.Setadr(AIndex : Integer; const AValue : TVcardAddress);
- begin
- If (Fadr=AValue) then exit;
- Fadr:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcard.Setemail(AIndex : Integer; const AValue : TVcardTypedText);
- begin
- If (Femail=AValue) then exit;
- Femail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcard.Setfn(AIndex : Integer; const AValue : String);
- begin
- If (Ffn=AValue) then exit;
- Ffn:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcard.Setorg(AIndex : Integer; const AValue : TVcardTypedText);
- begin
- If (Forg=AValue) then exit;
- Forg:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcard.Settel(AIndex : Integer; const AValue : TVcardTelephone);
- begin
- If (Ftel=AValue) then exit;
- Ftel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVcardAddress
- --------------------------------------------------------------------}
- Procedure TVcardAddress.Setcode(AIndex : Integer; const AValue : String);
- begin
- If (Fcode=AValue) then exit;
- Fcode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcardAddress.Setcountry(AIndex : Integer; const AValue : String);
- begin
- If (Fcountry=AValue) then exit;
- Fcountry:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcardAddress.Setlocality(AIndex : Integer; const AValue : String);
- begin
- If (Flocality=AValue) then exit;
- Flocality:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcardAddress.Setpobox(AIndex : Integer; const AValue : String);
- begin
- If (Fpobox=AValue) then exit;
- Fpobox:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcardAddress.Setregion(AIndex : Integer; const AValue : String);
- begin
- If (Fregion=AValue) then exit;
- Fregion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVcardAddress.Setstreet(AIndex : Integer; const AValue : String);
- begin
- If (Fstreet=AValue) then exit;
- Fstreet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVcardTelephone
- --------------------------------------------------------------------}
- Procedure TVcardTelephone.Seturi(AIndex : Integer; const AValue : String);
- begin
- If (Furi=AValue) then exit;
- Furi:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVcardTypedText
- --------------------------------------------------------------------}
- Procedure TVcardTypedText.Settext(AIndex : Integer; const AValue : String);
- begin
- If (Ftext=AValue) then exit;
- Ftext:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPawsResource
- --------------------------------------------------------------------}
- Class Function TPawsResource.ResourceName : String;
- begin
- Result:='paws';
- end;
- Class Function TPawsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TspectrumAPI;
- end;
- Function TPawsResource.GetSpectrum(aPawsGetSpectrumRequest : TPawsGetSpectrumRequest) : TPawsGetSpectrumResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'getSpectrum';
- _Methodid = 'spectrum.paws.getSpectrum';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsGetSpectrumRequest,TPawsGetSpectrumResponse) as TPawsGetSpectrumResponse;
- end;
- Function TPawsResource.GetSpectrumBatch(aPawsGetSpectrumBatchRequest : TPawsGetSpectrumBatchRequest) : TPawsGetSpectrumBatchResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'getSpectrumBatch';
- _Methodid = 'spectrum.paws.getSpectrumBatch';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsGetSpectrumBatchRequest,TPawsGetSpectrumBatchResponse) as TPawsGetSpectrumBatchResponse;
- end;
- Function TPawsResource.Init(aPawsInitRequest : TPawsInitRequest) : TPawsInitResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'init';
- _Methodid = 'spectrum.paws.init';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsInitRequest,TPawsInitResponse) as TPawsInitResponse;
- end;
- Function TPawsResource.NotifySpectrumUse(aPawsNotifySpectrumUseRequest : TPawsNotifySpectrumUseRequest) : TPawsNotifySpectrumUseResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'notifySpectrumUse';
- _Methodid = 'spectrum.paws.notifySpectrumUse';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsNotifySpectrumUseRequest,TPawsNotifySpectrumUseResponse) as TPawsNotifySpectrumUseResponse;
- end;
- Function TPawsResource.Register(aPawsRegisterRequest : TPawsRegisterRequest) : TPawsRegisterResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'register';
- _Methodid = 'spectrum.paws.register';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsRegisterRequest,TPawsRegisterResponse) as TPawsRegisterResponse;
- end;
- Function TPawsResource.VerifyDevice(aPawsVerifyDeviceRequest : TPawsVerifyDeviceRequest) : TPawsVerifyDeviceResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'verifyDevice';
- _Methodid = 'spectrum.paws.verifyDevice';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aPawsVerifyDeviceRequest,TPawsVerifyDeviceResponse) as TPawsVerifyDeviceResponse;
- end;
- { --------------------------------------------------------------------
- TSpectrumAPI
- --------------------------------------------------------------------}
- Class Function TSpectrumAPI.APIName : String;
- begin
- Result:='spectrum';
- end;
- Class Function TSpectrumAPI.APIVersion : String;
- begin
- Result:='v1explorer';
- end;
- Class Function TSpectrumAPI.APIRevision : String;
- begin
- Result:='20160404';
- end;
- Class Function TSpectrumAPI.APIID : String;
- begin
- Result:='spectrum:v1explorer';
- end;
- Class Function TSpectrumAPI.APITitle : String;
- begin
- Result:='Google Spectrum Database API';
- end;
- Class Function TSpectrumAPI.APIDescription : String;
- begin
- Result:='API for spectrum-management functions.';
- end;
- Class Function TSpectrumAPI.APIOwnerDomain : String;
- begin
- Result:='google.com';
- end;
- Class Function TSpectrumAPI.APIOwnerName : String;
- begin
- Result:='Google';
- end;
- Class Function TSpectrumAPI.APIIcon16 : String;
- begin
- Result:='http://www.google.com/images/icons/product/search-16.gif';
- end;
- Class Function TSpectrumAPI.APIIcon32 : String;
- begin
- Result:='http://www.google.com/images/icons/product/search-32.gif';
- end;
- Class Function TSpectrumAPI.APIdocumentationLink : String;
- begin
- Result:='http://developers.google.com/spectrum';
- end;
- Class Function TSpectrumAPI.APIrootUrl : string;
- begin
- Result:='https://www.googleapis.com/';
- end;
- Class Function TSpectrumAPI.APIbasePath : string;
- begin
- Result:='/spectrum/v1explorer/paws/';
- end;
- Class Function TSpectrumAPI.APIbaseURL : String;
- begin
- Result:='https://www.googleapis.com/spectrum/v1explorer/paws/';
- end;
- Class Function TSpectrumAPI.APIProtocol : string;
- begin
- Result:='rest';
- end;
- Class Function TSpectrumAPI.APIservicePath : string;
- begin
- Result:='spectrum/v1explorer/paws/';
- end;
- Class Function TSpectrumAPI.APIbatchPath : String;
- begin
- Result:='batch';
- end;
- Class Function TSpectrumAPI.APIAuthScopes : TScopeInfoArray;
- begin
- SetLength(Result,0);
-
- end;
- Class Function TSpectrumAPI.APINeedsAuth : Boolean;
- begin
- Result:=False;
- end;
- Class Procedure TSpectrumAPI.RegisterAPIResources;
- begin
- TAntennaCharacteristics.RegisterObject;
- TDatabaseSpec.RegisterObject;
- TDbUpdateSpec.RegisterObject;
- TDeviceCapabilities.RegisterObject;
- TDeviceDescriptor.RegisterObject;
- TDeviceOwner.RegisterObject;
- TDeviceValidity.RegisterObject;
- TEventTime.RegisterObject;
- TFrequencyRange.RegisterObject;
- TGeoLocation.RegisterObject;
- TGeoLocationEllipse.RegisterObject;
- TGeoLocationPoint.RegisterObject;
- TGeoLocationPolygon.RegisterObject;
- TGeoSpectrumSchedule.RegisterObject;
- TPawsGetSpectrumBatchRequest.RegisterObject;
- TPawsGetSpectrumBatchResponse.RegisterObject;
- TPawsGetSpectrumRequest.RegisterObject;
- TPawsGetSpectrumResponse.RegisterObject;
- TPawsInitRequest.RegisterObject;
- TPawsInitResponse.RegisterObject;
- TPawsNotifySpectrumUseRequest.RegisterObject;
- TPawsNotifySpectrumUseResponse.RegisterObject;
- TPawsRegisterRequest.RegisterObject;
- TPawsRegisterResponse.RegisterObject;
- TPawsVerifyDeviceRequest.RegisterObject;
- TPawsVerifyDeviceResponse.RegisterObject;
- TRulesetInfo.RegisterObject;
- TSpectrumMessage.RegisterObject;
- TSpectrumSchedule.RegisterObject;
- TVcard.RegisterObject;
- TVcardAddress.RegisterObject;
- TVcardTelephone.RegisterObject;
- TVcardTypedText.RegisterObject;
- end;
- Function TSpectrumAPI.GetPawsInstance : TPawsResource;
- begin
- if (FPawsInstance=Nil) then
- FPawsInstance:=CreatePawsResource;
- Result:=FPawsInstance;
- end;
- Function TSpectrumAPI.CreatePawsResource : TPawsResource;
- begin
- Result:=CreatePawsResource(Self);
- end;
- Function TSpectrumAPI.CreatePawsResource(AOwner : TComponent) : TPawsResource;
- begin
- Result:=TPawsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- initialization
- TSpectrumAPI.RegisterAPI;
- end.
|