Ejemplo n.º 1
0
        public Boolean ScheduleEvented(String ScriptsJSON)
        {
            String             jSonC  = StringCompression.DecompressString(ScriptsJSON);
            ScriptStructureNew Script = (ScriptStructureNew)Newtonsoft.Json.JsonConvert.DeserializeObject(jSonC, typeof(ScriptStructureNew));

            DBScheduleEngine.UpdateSchedule(Script);
            return(true);
        }
Ejemplo n.º 2
0
        public Boolean DelayScheduleEvented(String ScriptsJSON)
        {
            String jSonC = StringCompression.DecompressString(ScriptsJSON);

            ScriptStructureNew[] Scripts = (ScriptStructureNew[])Newtonsoft.Json.JsonConvert.DeserializeObject(jSonC, typeof(ScriptStructureNew[]));

            foreach (ScriptStructureNew Script in Scripts)
            {
                DBScheduleEngine.UpdateSchedule(Script);
            }

            Console.WriteLine("RECEIVED DelayScheduleEvented() = " + Scripts.Count());

            return(true);
        }