public void MovePanelCellTime(string graphicName, TimeSpan destenationTime) { var cells = PanelCells.Where(w => w.GraphicName == graphicName); foreach (var cell in cells) { cell.ReferenceElement.SetStartTime(destenationTime); } }
public ITLEPanelCellElement GetCellElementBasedOnGraphicName(string graphicName) { if (string.IsNullOrEmpty(graphicName)) { return(null); } TLEPanelCell cell = PanelCells.Where(w => w.GraphicName == graphicName).FirstOrDefault(); if (cell != null) { return(cell.ReferenceElement); } return(null); }