Ejemplo n.º 1
0
        public void MovePanelCellTime(string graphicName, TimeSpan destenationTime)
        {
            var cells = PanelCells.Where(w => w.GraphicName == graphicName);

            foreach (var cell in cells)
            {
                cell.ReferenceElement.SetStartTime(destenationTime);
            }
        }
Ejemplo n.º 2
0
        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);
        }