/// <summary> /// Update our transformer data /// </summary> /// <param name="TransformerData"></param> public void UpdateTransformerData(MM_Transformer_Data[] TransformerData) { MM_Element FoundElem; foreach (MM_Transformer_Data InXf in TransformerData) { if (MM_Repository.TEIDs.TryGetValue(InXf.TEID_Xf, out FoundElem) && FoundElem is MM_TransformerWinding) { MM_Server_Interface.UpdateTransformerData(InXf, FoundElem as MM_TransformerWinding, true); } } MM_Server_Interface.UpdateTimestamp(typeof(MM_Transformer_Data)); }