private void GetAllTowerActionsList()
        {
            //var client = new SmartTowerIntegrationServiceClient();
            //var task = client.GetAllTowerStaticMessagesAsync("G_001");//replace it with the tower id later
            //var obs = task.ToObservable();
            //obs.Subscribe((x) => AddActionTowers(x == null ? new List<TowerPredefinedMessageDTO>() : x.ToList()));

            try {
                SmartTowerDAL smartTowerDAL = new SmartTowerDAL();

                ActionsList = new ObservableCollection <TowerPredefinedMessageDTO>(smartTowerDAL.GetAllTowerStaticMessages("G_001"));
            }
            catch (Exception e) {
            }
        }
        public List <TowerPredefinedMessageDTO> GetAllTowerStaticMessages(string TowerId)
        {
            SmartTowerDAL smartTowerDAL = new SmartTowerDAL();

            return(smartTowerDAL.GetAllTowerStaticMessages(TowerId));
        }