public static void PopulateConductorProperties(FTN.Conductor cimConductor, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report)
 {
     if ((cimConductor != null) && (rd != null))
     {
         PowerTransformerConverter.PopulateConductingEquipmentProperties(cimConductor, rd, importHelper, report);
     }
 }
 public static void PopulateConductorProperties(FTN.Conductor cimConductor, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report)
 {
     if ((cimConductor != null) && (rd != null))
     {
         LoadFlowConverter.PopulateConductingEquipmentProperties(cimConductor, rd, importHelper, report);
         if (cimConductor.LengthHasValue)
         {
             rd.AddProperty(new Property(ModelCode.CONDUCTOR_LENGTH, cimConductor.Length));
         }
     }
 }
예제 #3
0
        public static void PopulateConductorProperties(FTN.Conductor cimConductor, ResourceDescription rd)
        {
            if ((cimConductor != null) && (rd != null))
            {
                PowerTransformerConverter.PopulateConductingEquipmentProperties(cimConductor, rd);

                if (cimConductor.LengthHasValue)
                {
                    rd.AddProperty(new Property(ModelCode.CONDUCTOR_LENGTH, cimConductor.Length));
                }
            }
        }
        public static void PopulateConductorProperties(FTN.Conductor cimConductor, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report)
        {
            if ((cimConductor != null) && (rd != null))
            {
                PowerTransformerConverter.PopulateConductingEquipmentProperties(cimConductor, rd, importHelper, report);

                if (cimConductor.ConductorTypeHasValue)
                {
                    rd.AddProperty(new Property(ModelCode.CONDUCTOR_TYPE, (short)GetDMSConductorType(cimConductor.ConductorType)));
                }
            }
        }