Fixed: fixed bug scrcpy and shell is disconnect when switch page

This commit is contained in:
Kenta420 2024-02-19 14:24:05 +07:00
parent 9543d4541c
commit 0fe469b5c6
43 changed files with 1378 additions and 1366 deletions

View file

@ -0,0 +1,6 @@
package v2
type MaterialDashboard struct {
Lebel string `json:"lebel"`
Value string `json:"value"`
}

View file

@ -0,0 +1,16 @@
package v2
/*
This is the recipe model that specificly for API v2 version.
But some of the model of recipe can be used in the main version of the API.
*/
type DashboardRecipe struct {
ProductCode string `json:"productCode"`
InUse bool `json:"inUse"`
Name string `json:"name"`
NameENG string `json:"nameEng"`
Image string `json:"image"`
LastUpdated string `json:"lastUpdated"`
SubRecipe []*DashboardRecipe `json:"subRecipe,omitempty"`
}