public void Remove(LadderDiagramViewModel ldmodel) { if (SubRoutines.Contains(ldmodel)) { SubRoutines.Remove(ldmodel); IsModify = true; } }
public void Add(LadderDiagramViewModel ldmodel) { if (!SubRoutines.Contains(ldmodel)) { SubRoutines.Add(ldmodel); IsModify = true; } }