Beispiel #1
0
 public static void PopulateRotatingMachineProperties(FTN.RotatingMachine cimRotatingMachine, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report)
 {
     if ((cimRotatingMachine != null) && (rd != null))
     {
         Converter.PopulateRegulatingCondEqProperties(cimRotatingMachine, rd, importHelper, report);
     }
 }
Beispiel #2
0
        public static void PopulateRotatingMachineProperties(FTN.RotatingMachine cimIdentifiedObject, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report)
        {
            if ((cimIdentifiedObject != null) && (rd != null))
            {
                PowerTransformerConverter.PopulateRegulatingConductingEqProperties(cimIdentifiedObject, rd, importHelper, report);

                if (cimIdentifiedObject.RatedSHasValue)
                {
                    rd.AddProperty(new Property(ModelCode.ROTATING_MACHINE_RATED_S, cimIdentifiedObject.RatedS));
                }
            }
        }