public void Start(string[] paths) { m_database = "PPA"; var settings = new HistorianServerDatabaseConfig(m_database, null, false); settings.ImportPaths.AddRange(paths); m_localServer = new HistorianServer(settings); var query = new HistorianQuery(SnapClient.Connect(m_localServer.Host)); m_updateFramework.Start(query); m_updateFramework.Mode = ExecutionMode.Manual; m_updateFramework.Enabled = true; }
public void Start(HistorianQuery query) { m_query = query; }
public void Start(string ip, int port, string database) { HistorianClient client = new HistorianClient(ip, port); m_database = database; HistorianQuery query = new HistorianQuery(client); m_updateFramework.Start(query); m_updateFramework.Mode = ExecutionMode.Manual; m_updateFramework.Enabled = true; }