示例#1
0
        private void EventSink_SvgParsed(SvgTask task)
        {
            string data = JsonConvert.SerializeObject(task);

            ScriptRunner.Run(ScriptAction.SvgTaskResolved, Utility.HtmlEncode(data));
        }
示例#2
0
        private void EventSink_GerberParsed(GerberTask task)
        {
            string data = JsonConvert.SerializeObject(task, Formatting.Indented);

            ScriptRunner.Run(ScriptAction.GerberTaskResolved, Utility.HtmlEncode(data));
        }
示例#3
0
        private void EventSink_PnpFileParsed(PnpJob task)
        {
            string data = JsonConvert.SerializeObject(task);

            ScriptRunner.Run(ScriptAction.PnpTaskResolved, Utility.HtmlEncode(data));
        }