public static void PopulateRotatingMachineProperties(FTN.RotatingMachine cimRotatingMachine, ResourceDescription rd, ImportHelper importHelper, TransformAndLoadReport report) { if ((cimRotatingMachine != null) && (rd != null)) { Converter.PopulateRegulatingCondEqProperties(cimRotatingMachine, rd, importHelper, report); } }
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)); } } }