예제 #1
0
        public AutorunSettings()
        {
            SolibriProperties sp = new SolibriProperties("Solibri Model Checker v9.5", @"C:\Program Files\Solibri\SMCv9.5\Solibri Model Checker v9.5.exe");

            solibriOptions.Add(sp);
            sp = new SolibriProperties("Solibri Model Checker v9.6", @"C:\Program Files\Solibri\SMCv9.6\Solibri Model Checker v9.6.exe");
            solibriOptions.Add(sp);
            sp = new SolibriProperties("Solibri Model Checker v9.7", @"C:\Program Files\Solibri\SMCv9.7\Solibri Model Checker v9.7.exe");
            solibriOptions.Add(sp);
            solibriOptions = solibriOptions.OrderBy(o => o.VersionNumber).ToList();

            RemoteMachine rm = new RemoteMachine("NY", "NY-BAT-D001", @"\\NY-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm);
            RemoteMachine rm2 = new RemoteMachine("PHI", "PHI-BAT-D001", @"\\PHI-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm2);
            RemoteMachine rm3 = new RemoteMachine("HOU", "HOU-BAT-D001", @"\\HOU-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm3);
            remoteOptions = remoteOptions.OrderBy(o => o.ComputerName).ToList();
        }
예제 #2
0
        public void WriteDefault()
        {
            solibriOptions.Clear();
            SolibriProperties sp = new SolibriProperties("Solibri Model Checker v9.5", @"C:\Program Files\Solibri\SMCv9.5\Solibri Model Checker v9.5.exe");

            solibriOptions.Add(sp);
            sp = new SolibriProperties("Solibri Model Checker v9.6", @"C:\Program Files\Solibri\SMCv9.6\Solibri Model Checker v9.6.exe");
            solibriOptions.Add(sp);
            sp = new SolibriProperties("Solibri Model Checker v9.7", @"C:\Program Files\Solibri\SMCv9.7\Solibri Model Checker v9.7.exe");
            solibriOptions.Add(sp);
            solibriOptions = new ObservableCollection <SolibriProperties>(solibriOptions.OrderBy(o => o.VersionNumber).ToList());

            remoteOptions.Clear();
            RemoteMachine rm = new RemoteMachine("NY", "NY-BAT-D001", @"\\NY-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm);
            RemoteMachine rm2 = new RemoteMachine("PHI", "PHI-BAT-D001", @"\\PHI-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm2);
            RemoteMachine rm3 = new RemoteMachine("HOU", "HOU-BAT-D001", @"\\HOU-BAT-D001\SolibriBatch");

            remoteOptions.Add(rm3);
            remoteOptions = new ObservableCollection <RemoteMachine>(remoteOptions.OrderBy(o => o.ComputerName).ToList());
        }
예제 #3
0
 public AutorunSettings(SolibriProperties solibri, RemoteMachine remote)
 {
     solibriSetup = solibri;
     remoteSetup  = remote;
 }