/// <summary> /// Initialization of copies /// </summary> private void SetUp() { foreach (AnalogValue av in AnalogPoints) { AnalogPointsCopy.Add(av); } foreach (DiscreteValue dv in DiscretPoints) { DiscretPointsCopy.Add(dv); } foreach (SynchronousMachine sm in Ders.Values) { DersCopy.Add(sm.GlobalId, sm); } }
/// <summary> /// Radi inicijalizaciju kopije /// </summary> private void SetUp() { foreach (AnalogValue av in AnalogPointsOriginal) { AnalogPointsCopy.Add(av); } foreach (DiscreteValue dv in DiscretePointsOriginal) { DiscretePointsCopy.Add(dv); } foreach (SynchronousMachine sm in DersOriginal) { DersCopy.Add(sm); } }