예제 #1
0
        public override void Run(IPsOscEngine engine)
        {
            var scriptData = File.ReadAllText(ScriptFilename);

            Engine.Instance.PowerShell.StartPipeline();
            Engine.Instance.PowerShell.RegisterVariable("PsOscEvent", this);
            Engine.Instance.PowerShell.AddScript(scriptData);
            Engine.Instance.PowerShell.Invoke();
        }
예제 #2
0
 public override void Run(IPsOscEngine engine)
 {
     if (String.IsNullOrEmpty(Data))
     {
         engine.SendOscMessage(Address);
     }
     else
     {
         engine.SendOscMessage(Address, ConvertValue());
     }
 }
예제 #3
0
 public abstract void Run(IPsOscEngine engine);
예제 #4
0
 public override void Run(IPsOscEngine engine)
 {
     throw new NotImplementedException();
 }