华中科技大学硕士学位论文配电GIS系统的设计与实现姓名:陈明赟申请学位级别:硕士专业:控制理论与控制工程指导教师:王仲东20060510IIGISGISGISAM/FM/GISGISCOM,SQLServer,AM/FM/GIS,GeoStar,IIIAbstractWiththedevelopmentofthewirenet,thedepartmentsofpowerssystemdesignandoperationhavetogather,store,analyzeandrapidlyprocesstheextremelyhugeandmiscellaneousinformation.Nevertheless,theoldpowersystemcanhardlysatisfytheneedsofpowersupplyconstructionandoperation.Consequently,toreasonablyplanthemodificationandconstructionofthewirenet,toenhancethequalityofthepoweraswellasthesafetyofthepowersupply,toreducethecost,toimprovetheoperationofthepowerequipment,weneedtomanagethewirenetbyusingmoderncomputersandGISinformationtechnology.Inthisway,allthefigures,mapsanddatawillbeshared.Thegeographicalinformationsysteminpowersupplyinvolvesmanyparts.Withtheincreaseinthescaleofsoftwareandthegrowingcomplicationoftheirfunction,thetimecircleofsoftwareprogrammingbecomeslongeranditismuchmoredifficulttomaintainthesoftware.Besides,wewillbedestinedtofacehigherriskinupdatingtheiroldfunction.However,packagetechnologyformsoneofthemostefficientanswerstotheproblemswehavejustmentionedabove.Beingpieceintheformofthebinaryscale,acomponentcaninteractwiththosefromothersoftwareproviders.Whendesigningthesoftware,basingontheObject-Orientedidea,wecandivideitintoindependentcomponentsandthenrealizethemrespectively.Finally,wecanorganizethecomponentstogetthesoftwarewewant.ThedistributionGISthatthisthesistalksaboutisbasedonthetechnologicaldevelopmentofthecomponents.WewilldiscussindetailthedesignandrealizationofthedistributionGIS.There,someveryimportantconceptsandtechnologiesthatthesysteminvolveswillbeintroduced,butwewillfocusontheoveralldesignofthesystem,thedatabasedesignandthecomponentdesign.Thenwewilltellabouttheanalysisandmanagementofthesystem,mainlyaboutthelocationofdistributionnetworkbreakdownandthereconstructionofbreakdownnetwork.Then,wewillpresentaninstanceaboutthemodelingsystemofwireIVnetting,whichisbasedoncomponenttechnology.Thesummaryandexpansionwillbegiveninthefinalsection.KeyWords:ComponentTechnology,COM,Database,SQLServer,AM/FM/GIS,GeoStar,ExpertSystem,DistributionGISI2006510_____20065102006510111.1GISGeographicalInformationSystemGIS[1]MIS1.21.2.1GIS“”2GeospatialDatabase1.2.2GIS(AutomaticMapping,AM)(Facility-management,FM)AM/FM/GISAM/FM/GISAM/FM/GISGIS2060GISR.F.Tomlison2070GIS2080GISGISARC/INFOMAPINFOGENAMAP2090GISGIS19701980GIS198119853GIS1986GISGIS[2][3][7]GISGISGISMapGISGeoStarSuperMapGISGISGISGISWebGISGIS,,,GIS,,,GISGISGISSCADAMISAM/FM/GISGIS(AM)(FM)1.2.341.3AM/FM/GISGeoStar5.0COMComponentObjectModelGeoStarAM/FM/GISGeoStar5.0SQLServer52GIS2.1GISGIS(ComponentsGISComGIS)GISGISInternet[6]GISGIS[9]12GISMIS3GIS42.2GISGISMapInfoMapXERIS6MapObjectsSurperMapGeoStarGISGeoStarGISGISGeoStar5.0,GeoStar5.0GISGeoStar5.02.32.3.1()7[6]GeoStar5.0COMComponentObjectModelCOMCOMAM/FM/GISCOMCOMCOMCOMAM/FM/GISAM/FM/GISGeoStar5.0GeoStar5.0GeoStar5.0RendererAM/FM/GISGeoStar5.0Renderer8WindowsCOM2.3.2COMCOMMicrosoftCOM(DynamicLinkLibrary,DLL)(In-processComponent)(EXE)(Out-of-processComponent)COMCOM(COM)COMCOM(C++)COMCOMCOMMicrosoftCOMMicrosoftWindowsCOMCOMCOMCOM9COMCOMCOMADO/OLEDB,ASP/ActiveX,Windows2000COMCOMCOMCOMCOMCOMC++COMCOM“”COMCOM“”COMCOM10C++——“”C++COMCOMCOMCOM2.3.3COMCOM(classfactory)COMCOMCOM:IClassFactoryIClassFactoryIUnknownCreateInstance“”COMCOMCoCreateInstanceCoGetClassObjectCreateInstanceCOMCLSIDIIDCOM2.3.4COMCOMCOMCOMCOM11COM1234“”COMCOM2-1IUnknown2-12-2IPDatabaseAIUnknownB12IUnkonwnIPDatabase2-2IPDatabaseCOM1)“structure”“record”2)C++C++COMCOM:3)COMIUnknownCOMIUnknownCOMIUnknown133GISGISAM/FM/GIS()GIS[1]GIS()GISMISSCADA3.1/:1.GISGISGISGISGeoStar5.0142.GISGIS3.GISGISGIS()4.5.GISSCADAMISGISGIS3.2GIS15GISGISGIS[37]GISGISGeoStar1GISGISGIS2(Buffer)316GIS:GISGISGIS4GISGISSTATESTATE“1”STATE“0”GIS/GISGIS517GIS3.3GISGISGIS()GIS[25]GISGISGIS3.3.1v():vvv()(Depth-FirstSearch)[34]183.3.2xxx(x,y)yx(x,y)yyyyyxxxxx:()3.4:[14]19GISGISGISGIS3-1GISGIS20GIS3-123()(GIS)GISSCADAGIS2144.1AM/FM/GISAM/FM/GISSCADASCADA4.21.COM/OLETCP/IPSQLSQLServerOracleERPSCADAMIS2.AM/FM/GISC/S/SQLServer3.AM/FM/GISAM/FM/GIS22AM/FM/GISAM/FM/GISAM/FM/GIS4.AM/FM/GISGISGeoStarGIS4.34-14-1123/23456123/456244.4WindowsXPDelphiSQLServer2000GISGeoStar5.04.4.1GeoStar1.GISGeoStar5.0GISGIS2.GISGeoStar5.0COMComponentObjectModelGISCOMGeoStar5.0GeoStar5.0GeoStar5.0GISGISGeoStar5.0GISGeoStar3.25GeoStarGeoStar4.GeoStar5.0GeoStar5.0DEM5.//6.GeoStarDEM26DEMGISSQLEPSEMF4.4.2GeoStarGeoStarGIS1234GIS5GISGIS274-1GeoStar61.GeometryOpenGISISpatialRelationISpatialOperatorISpatialRelationISpatialOperatorISpatialReference2.Map:LayersLayer:Object:Object:(Point)(Line)(Region)LabelGISOID,28OIDFeatureGeometryIFieldsIFeature(1)OIDOIDOIDOID(2)GeometryFieldsValueGISOIDOIDOIDFIDOIDFeatureClass800IFeatureClass(1)SpatialReference(2)GeometryType:geoFEATURECLASSGEOMETRYTYPE29GISFIDDataRoom4-2IDataRoomIDataRoomIFeatureClassFeatureClassIDataRoomIFeatureClassIDataRoom4-2GeoDatabaseStartEditEndEdit3.DataRoomTableFeatureClassITableIDataRoomIFeatureClassIDataRoom……30“”4-3MapLayerRendererSymbolColorLayo