Sample - Reassign Network Adapter (Stand-Alone) ObjectIDs

Version 6

    Versions: 10.0 - current

    Product Availability: Network Adapter Stand-Alone

     

    Replace ObjectIDs with FacilityIDs in exports from the Network Adapter Stand-Alone executable.

    (For Network Adapter Classic, see Sample - Reassign Network Adapter ObjectIDs.)

     

    How to Implement:

    1. Extract the included xsl style sheet and NetworkAdapter.exe.config file.
    2. Copy the ReassignIDs.xsl file to the Bin > Style Sheet folder in your ArcFM installation directory (typically C:\Program Files (x86)\Miner and Miner\ArcFM Solution\Bin\Style Sheets).
    3. Copy the NetworkAdapter.exe.config file to the Bin directory > (typically C:\Program Files (x86)\Miner and Miner\ArcFM Solution\Bin).

     

    The new PipelineRule looks like this:

    <add name="ReassignIDs" ChildName="Add Multispeak Section Connectivity" XslFileName="ReassignIDs.xsl" type="Miner.Geodatabase.Integration.XslTransform`1[[Miner.Geodatabase.Integration.ElectricExportScope, Miner.Geodatabase.Engine, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc]], Miner.Geodatabase.Engine, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc"/>

     

    The subsequent rule must point to the new rule as it's child:

    <add name="Multispeak Transformation" ChildName="ReassignIDs" XslFileName="NetAdapterMsp_Windmil.xsl" type="Miner.Geodatabase.Integration.XslTransform`1[[Miner.Geodatabase.Integration.ElectricExportScope, Miner.Geodatabase.Engine, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc]], Miner.Geodatabase.Engine, Version=10.1.0.0, Culture=neutral, PublicKeyToken=196beceb052ed5dc">


    How to Use:

    1. Start Network Adapter.exe.
    2. Select a feeder.
    3. Click export.

     

    Prior to the sample, a switch could appear as:

    <switchDeviceBank objectID="43.90">

                                                   ...

    <facilityID>SW90</facilityID>

    <sectionID>43.90</sectionID>

    <parentSectionID name="21.783.1"/>

     

    After implementing this sample, the switch could appear as:

    <switchDeviceBank objectID="SW90_43.90">

                                                    ...

    <facilityID>SW90</facilityID>

    <sectionID>SW90_43.90</sectionID>

    <parentSectionID name="OH12345_21.783.1"/>

     

     

     

    FileDescription
    ReassignIDs.xslStyle sheets that affects display of FacilityIDs.
    NetworkAdapter.exe.config.NET config file for Network Adapter