Пример #1
0
 public MonoDeploy(string teamNumber, DeployManager deployManager, MonoFile monoFile)
 {
     m_deployManager = deployManager;
     m_teamNumber    = teamNumber;
     m_monoFile      = monoFile;
 }
 public InstallMonoButton(Frc_ExtensionPackage package, MonoFile monoFile)
     : base(package, false, GuidList.guidFRC_ExtensionCmdSet, (int) PkgCmdIDList.cmdidInstallMono)
 {
     m_monoFile = monoFile;
 }
 public DownloadMonoButton(Frc_ExtensionPackage package, MonoFile monoFile, InstallMonoButton installButton)
     : base(package, false, GuidList.guidFRC_ExtensionCmdSet, (int)PkgCmdIDList.cmdidDownloadMono)
 {
     m_monoFile = monoFile;
     m_installButton = installButton;
 }
Пример #4
0
 public MonoDeploy(string teamNumber, DeployManager deployManager, MonoFile monoFile)
 {
     m_deployManager = deployManager;
     m_teamNumber = teamNumber;
     m_monoFile = monoFile;
 }
Пример #5
0
 public MonoDeploy(string teamNumber, MonoFile monoFile)
 {
     m_teamNumber = teamNumber;
     m_monoFile   = monoFile;
 }
 public SaveMonoButton(Frc_ExtensionPackage package, MonoFile monoFile)
     : base(package, true, GuidList.guidFRC_ExtensionCmdSet, (int) PkgCmdIDList.cmdidSaveMonoFile)
 {
     m_monoFile = monoFile;
 }
        /////////////////////////////////////////////////////////////////////////////
        // Overridden Package Implementation
        #region Package Members

        /// <summary>
        /// Initialization of the package; this method is called right after the package is sited, so this is the place
        /// where you can put all the initialization code that rely on services provided by VisualStudio.
        /// </summary>
        protected override void Initialize()
        {
            Instance = this;
            Debug.WriteLine (string.Format(CultureInfo.CurrentCulture, "Entering Initialize() of: {0}", this.ToString()));
            base.Initialize();

            m_writer = OutputWriter.Instance;


            m_deployButton = new DeployDebugButton(this, (int)PkgCmdIDList.cmdidDeployCode, false);
            m_debugButton = new DeployDebugButton(this, (int)PkgCmdIDList.cmdidDebugCode, true);

            m_killButton = new KillButton(this);
            

            string monoFolder = WPILibFolderStructure.CreateMonoFolder();

            string monoFile = monoFolder + Path.DirectorySeparatorChar + DeployProperties.MonoVersion;

            m_monoFile = new MonoFile(monoFile);

            m_installMonoButton = new InstallMonoButton(this, m_monoFile);
            m_downloadMonoButton = new DownloadMonoButton(this, m_monoFile, m_installMonoButton);
            m_saveMonoButton = new SaveMonoButton(this, m_monoFile);
            

            m_aboutButton = new AboutButton(this);
            m_netConsoleButton = new NetConsoleButton(this);
            m_settingsButton = new SettingsButton(this);

            m_setMainRobotButton = new SetMainRobotButton(this);
            

        }