コード例 #1
0
 public static void Configure(string logFile)
 {
     Configure(AppName, logFile);
     Log.LogDebug += Log_LogDebug;
     Log.LogError += Log_LogError;
     Log.Debug(
         "--------------------------------===========================Application starting===========================--------------------------------");
     try
     {
         Log.Debug("Application version : " + Assembly.GetEntryAssembly().GetName().Version);
     }
     catch {}
     Analytics = new Analytics();
     Log.Debug("Init : Analytics");
     //DeviceManager = new CameraDeviceManager(Path.Combine(Classes.Settings.ApplicationFolder, "Devices"));
     DeviceManager = new CameraDeviceManager();
     Log.Debug("Init : DeviceManager");
     ExternalDeviceManager = new ExternalDeviceManager();
     Log.Debug("Init : ExternalDeviceManager");
     Trigger = new TriggerClass();
     Log.Debug("Init : Trigger");
     QueueManager = new QueueManager();
     Log.Debug("Init : QueueManager");
     //Branding = new Branding();
     ScriptManager = new ScriptManager();
     Log.Debug("Init : ScriptManager");
     PluginManager = new PluginManager();
     Log.Debug("Init : PluginManager");
     FilenameTemplateManager = new FilenameTemplateManager();
     _pipeServer = new PipeServerT();
     _pipeServer.Listen("DCCPipe");
     Log.Debug("Init : _pipeServer");
 }
コード例 #2
0
 public static void Configure()
 {
     Configure(AppName);
     Log.LogDebug += Log_LogDebug;
     Log.LogError += Log_LogError;
     Log.Debug("--------------------------------===========================Application starting===========================--------------------------------");
     Log.Debug("Application version : " + Assembly.GetEntryAssembly().GetName().Version);
     DeviceManager = new CameraDeviceManager();
     ExternalDeviceManager = new ExternalDeviceManager();
     Trigger = new TriggerClass();
     ActionManager = new ActionManager();
     QueueManager = new QueueManager();
     Branding = new Branding();
     ScriptManager = new ScriptManager();
     PluginManager = new PluginManager();
     _pipeServer = new PipeServerT();
     _pipeServer.Listen("DCCPipe");
 }