public void Test()
 {
     LocalFilePathMapping.DeleteFiles();
     //*Schedule
     //One message
     //Generate("SheduleMessage");
     ////One TimeSliceGroup
     //Generate("ScheduleTimeSliceGroup");
     ////One Playlist
     //Generate("SchedulePlaylist");
     ////Many: some Messages and some TimeSliceGroups and some Playlists
     //Generate("ScheduleMany");
     //**
     Generate("s11111");
 }
Beispiel #2
0
        private void GetLockBefore()
        {
            var ftpMgr = _sign.Controller.Connection.FtpManager;//SFtpManager.Current;

            _waitForm.Info(Resource.GetString(Resource.Strings.UploadSchedulerConnectFTPServer));

            if (ftpMgr == null || !ftpMgr.IsConnected.HasValue || ftpMgr.IsConnected.Equals(false))
            {
                _waitForm.CancelFtp(Resource.GetString(Resource.Strings.UploadFtpServerDisConnection));
                return;
            }

            _files.Clear();
            // delete old upload files
            LocalFilePathMapping.DeleteFiles();

            var task = _sign.Controller.FileManager.GetLock();

            _waitForm.Info(Resource.GetString(Resource.Strings.UploadGetLockStart));
        }
Beispiel #3
0
 public void Init()
 {
     BasicConfigurator.Configure();
     LocalFilePathMapping.DeleteFiles();
 }