Пример #1
0
    public void getProject()
    {
        clearCurrentProject();

        Config.projectId = id;

        ProjectFetchEvent fetch = new ProjectFetchEvent();

        fetch.Send();
    }
Пример #2
0
    // Hard coded project load. This should be removed when a project selection system is added to the HL-Client
    public void loadProject()
    {
        foreach (FlowProject project in Config.projectList)
        {
            if (project.projectName == project_name)
            {
                Config.projectId = project._id;
            }
        }

        ProjectFetchEvent fetchproj = new ProjectFetchEvent();

        fetchproj.Send();

        registered = true;
    }