Version: 10.2.1d and 10.2.1d SP3 |
ArcFM Desktop Overview > Network Adapter Overview > Network Adapter for DMS v3 (CIM) > Update Mapping XML > Mapping Operators |
A Mapping Operator takes one or more arguments and returns either the value of a cimProperty or a boolean value for conditional mapping or arguments to another Mapping Operator. A Mapping Operator's arguments are either field values from the data source or the result of another Mapping Operator.
<And> <Equals value="No"> <sourceField name="GangOperated" /> </Equals> <GreaterThan value="1"> <StringLength> <sourceField name="PhaseDesignation" /> </StringLength> </GreaterThan> </And>
<Characters> <sourceField name="PhaseDesignation" /> </Characters>
<CheckNull value="0"> <sourceField name="IMPEDANCE" /> </CheckNull>
<Concatenate separator="" tagReference="ConductorCatalogKey"> <sourceField name="CONDUCTORSIZE" /> <sourceField name="CONDUCTORMATERIAL" /> </Concatenate>
<Divide> <Scale scale="1000"> <sourceField name="KW" /> </Scale> <ToVolts> <sourceField name="NominalVoltage" /> </ToVolts> </Divide>
<Equals value="No"> <sourceField name="GangOperated" /> </Equals>
<Exists> <sourceField name="CIRCUITSOURCE.ID" /> </Exists>
<GreaterThan value="1"> <StringLength> <sourceField name="PhaseDesignation" /> </StringLength> </GreaterThan>
<Multiply> <sourceField name="Impedance.ResistancePerKilometer" /> <sourceField name="MEASUREDLENGTH" /> <!-- Length in meters --> <constant value="0.001" /> </Multiply>
<Not> <SourceIs class="BusBar" /> </Not>
<NotEquals value="Minerville"> <sourceField name="OWNER" /> </NotEquals>
<Or> <Equals value="Fly Tap"> <sourceField name="SUBTYPECD" /> </Equals> <Equals value="Loop"> <sourceField name="SUBTYPECD" /> </Equals> <Equals value="Non-Load Break Elbow"> <sourceField name="SUBTYPECD" /> </Equals> </Or>
<PadString prefix="0" length="5"> <sourceField name="FACILITYID" /> </PadString>
<Scale scale="1000"> <sourceField name="TotalKvar" /> </Scale>
<StringLength> <sourceField name="PhaseDesignation" /> </StringLength>
<NormalOpens> <sourceField name="PHASEDESIGNATION" useDomain="false" /> <sourceField name="NORMALPOSITION_A" /> <sourceField name="NORMALPOSITION_B" /> <sourceField name="NORMALPOSITION_C" /> </NormalOpens>
<Map mapRef="Voltage"> <sourceField name="OperatingVoltage" useDomain="false"/> </Map>
<Lookup tableName="ImpedanceCatalog" keyField="MATERIAL,CONDSIZE" valueField="RESISTANCE"> <sourceField name="CONDUCTORMATERIAL" /> <sourceField name="CONDUCTORSIZE" /> </Lookup>