private IEnumerable <ICa> GetEcaItemsExpectedToBeUpdated()
        {
            UpdateContext client = new(app);

            var ids = new List <string>()
            {
                "27736.38003.3456.53205",
                "27736.38003.64960.12362",
                "27736.38003.11352.58051",
                "27736.38003.49712.5693",
                "27736.38003.51928.23798",
                "27736.38003.52721.14724",
                "27736.38003.41408.48878",
                "27736.38003.8940.57787",
                "27736.38003.38848.14821",
                "27736.38003.9440.30115",
                "27736.38003.24352.53538",
                "27736.38003.33376.23320",
                "27736.38003.55432.39910",
                "27736.38003.55096.41900",
                "27736.38003.51360.45969",
                "27736.38003.37480.20230",
                "27736.38003.16400.33595",
                "27736.38003.49456.55703"
            };

            DateTime exportDate = new LastExportDate(
                client.TdmsContext.CaRoot.Objects,
                TdmsContext.CaAttrExportName
                ).DateTime;

            //return Utility.GetObjects().Where(c => ids.Contains(c.Id));

            return(Utility.GetObjects().Where(c =>
            {
                try
                {
                    return (Utility.ConvertToDateTime(c.Modified) >= exportDate);
                }
                catch (Exception)
                {
                    return false;
                }
            }));

            //return Utility.GetObjects().Where(c =>
            //{
            //    try
            //    {
            //        return (Convert.ToDateTime(c.Modified).Date == new DateTime(2020, 11, 5));
            //    }
            //    catch (Exception)
            //    {
            //        return false;
            //    }
            //});
        }
 public override void Execute()
 {
     var tdmsContext = new UpdateContext(application).TdmsContext;
     var date        = new LastExportDate(tdmsContext.CaRoot.Objects, TdmsContext.CaAttrExportName).DateTime;
 }