Sample - Attribute Autoupdater: Gas Tracing

Version 2

    Versions: 9.3.1 - current

    Product Availability: ArcFM Desktop

     

    The autoupdaters in this developer sample use the IMMAttrAUStrategy interface. Each .cs file below represents a separate autoupdater (AU) used by the gas trace solvers. All of the files shown below are required for the project to build successfully.

     

    How to Implement:

    1. You may modify the code sample. This step is not required.
    2. Build the solution sample and copy the DLL into ArcFM Solution\bin.
    3. In the ArcFM Solution\bin directory, drag the dll and drop it onto RegX.exe to register it.


    How to Use:

    1. This autoupdater requires that the GASTRACEWEIGHT field model name be assigned to a field with a data type of Long Integer. If this model name is not assigned, the AU will not be available in the On Feature Create and On Feature Update fields.
    2. Right-click the feature class (e.g., DistributionMain) in ArcCatalog and select ArcFM Properties Manager.
    3. On the Field Info tab, select the field that has the GASTRACEWEIGHT model name assigned.
    4. In the Field Properties section, select your custom autoupdater (e.g., Sample Gas Distribution Main Trace Weight (C#)) in the On Feature Create and On Feature Update fields.
    5. Click OK to save changes and dismiss the ArcFM Properties Manager.


    Requires:

    All of the files shown below are required for the project to compile successfully.

     

    FileDescription
    Miner.Samples.TraceWeightAU.csprojC# project containing the code to generate a custom gas tracing autoupdaters
    ControlFitting.csThe ArcFM Gas Controllable Fitting Trace Weight AU sets the GasTraceWeight to values that describe the status of the controllable fitting device as consistent with bitgate layout.
    DistMain.csThe ArcFM Gas Distribution Main Trace Weight AU sets the GasTraceWeight to values that describe the status of the distribution main as consistent with bitgate layout.
    NonControlFitting.csThe ArcFM Gas Non-Controllable Fitting Trace Weight AU sets the GasTraceWeight to values that describe the status of non-controllable fitting.
    NonGas.csThe ArcFM Gas NonGas Trace Weight AU omits the feature class from gas traces.
    Rectifier.csThe ArcFM Gas Rectifier Trace Weight AU sets the GasTraceWeight to values that describe the status of rectifier.
    Regulator.csThe ArcFM Gas Regulator Trace Weight AU sets the GasTraceWeight to values that describe the status of regulator.
    SqueezeOff.csThe ArcFM Gas Squeeze Off Trace Weight AU sets the GasTraceWeight to values that describe the status of the SqueezeOff point.
    TownBorderStation.csThe ArcFM Gas TBS Trace Weight AU sets the GasTraceWeight to values that describe the status of TBS.
    Valve.csThe ArcFM Gas Valve Trace Weight AU sets the GasTraceWeight to values that describe the status of valve.
    Common.csClass module to support the gas autoupdater strategy
    Class module to support the gas autoupdater strategy