3.0 KiB
Key |
---|
startup |
軟體啟動與資源
啟用HiNC於Windows系統
-
至官網下載HiNC安裝包並解壓縮:
https://superhightech-gitea.webredirect.org/HiNC-Deploy/HiNC-Manager-Win/archive/master.zip
-
插上HiNC授權鎖,執行資料夾內
HiNC-loop-with-update.bat
。該腳本會於每次執行下載或更新HiNC軟件。
首次執行過後,將產生HiNC子資料夾。該資料夾內可找到
appsettings.json
檔案,該檔案用來設定HiNC組態。appsettings.json
檔案中可以設定網頁位置及使用者帳號密碼等組態。以下使用預設值說明。依
appsettings.json
預設值,每次HiNC啟動時,會連結授權伺服器檢查是否有授權更新。授權更新的預設設置如下,如果要取消自動授權鎖更新,可將AutoLicenseUpdate
改為DoNothing
。"LicenseManager": { //Available Command: "DoNothing","AutoLicenseUpdate","GetC2V","GenV2C","ApplyV2C","WriteInfo" "Command": "AutoLicenseUpdate", "Server": { "URI": "http://superhightech.com.tw:20201", } }
appsettings.json
檔案中預設創建../HiNC-Root
作為資料與專案的存放位置。
:::{.alert .alert-info} 疑難排解
如果啟動HiNC時,反覆出現錯誤長訊息,可能是作業系統太舊或久未更新,請安裝 Microsoft Visual C++
。
:::
-
打開網頁瀏覽器,進入預設網址: http://localhost:4330
-
輸入預設使用者帳密即可登入使用。 帳號:
admin
密碼:00000
單機多站
如果有開通多程序授權,可以使用不同 appsettings.<組態名稱>.json
伺服多個程序。每個程序可同時執行不同的專案。
同個主機中各程序appsettings.<組態名稱>.json
中以下項目不可相同:
Endpoints
DatabasePort
CacheDbId
在命令列執行以下指令啟動指定程序:
dotnet run HiNcServer.dll --environment <組態名稱>
!!! success "組態範例"
- [appsettings.Sub-1.json](example/appsettings.Sub-1.json)
- [appsettings.Sub-2.json](example/appsettings.Sub-2.json)
以授權器作第二層伺服(多主機)
如果有開通多主機授權,下載並解壓縮DelegateAuthorization.zip,並根據裡面的兩個pdf說明檔操作,分別設定授權伺服器與被授權客戶端。
教學視頻
建立機構與刀具
- https://superhightech.com.tw/download2/機構建構器建立虛擬機床.mp4
- https://superhightech.com.tw/download2/建立臥式機床.mp4
- https://superhightech.com.tw/download2/刀具建立-銑削與刀把.mp4
專案設定與執行
- https://superhightech.com.tw/download2/範例專案設置說明.mp4
- https://superhightech.com.tw/download2/範例專案仿真說明.mp4
- https://superhightech.com.tw/download2/建立專案.mp4
!!! success "範例專案下載"
- https://superhightech-gitea.webredirect.org/HiNC-Deploy/DemoStandardPath/archive/master.zip