init Project ✌️✌️
This commit is contained in:
commit
8a6dc19bdd
42 changed files with 249179 additions and 0 deletions
68
server/models/recipe.go
Normal file
68
server/models/recipe.go
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
package models
|
||||
|
||||
type Recipe struct {
|
||||
Timestamps string `json:"timestamps"`
|
||||
MachineSetting MatchineSetting `json:"MachineSetting"`
|
||||
Recipe01 []Recipe01 `json:"Recipe01"`
|
||||
Topping Topping `json:"Topping"`
|
||||
MaterailCode []MaterailCode `json:"MaterailCode"`
|
||||
}
|
||||
|
||||
type MatchineSetting struct {
|
||||
RecipeTag string `json:"RecipeTag"`
|
||||
StrTextShowError []string `json:"strTextShowError"`
|
||||
ConfigNumber int `json:"configNumber"`
|
||||
TemperatureMax int `json:"temperatureMax"`
|
||||
TemperatureMin int `json:"temperatureMin"`
|
||||
}
|
||||
|
||||
type MaterailCode struct {
|
||||
PackageDescription string `json:"PackageDescription"`
|
||||
RefillValuePerStep int `json:"RefillValuePerStep"`
|
||||
MaterialID int `json:"materialID"`
|
||||
MaterialCode string `json:"materialCode"`
|
||||
}
|
||||
|
||||
// export interface MaterialSetting {
|
||||
// AlarmIDWhenOffline: number;
|
||||
// BeanChannel: boolean;
|
||||
// CanisterType?: string;
|
||||
// DrainTimer: number;
|
||||
// IsEquipment: boolean;
|
||||
// LeavesChannel: boolean;
|
||||
// LowToOffline: number;
|
||||
// MaterialDescrption?: string;
|
||||
// MaterialStatus: number;
|
||||
// PowderChannel: boolean;
|
||||
// RefillUnitGram: boolean;
|
||||
// RefillUnitMilliliters: boolean;
|
||||
// RefillUnitPCS: boolean;
|
||||
// ScheduleDrainType: number;
|
||||
// SodaChannel: boolean;
|
||||
// StockAdjust: number;
|
||||
// StrTextShowError: string[];
|
||||
// SyrupChannel: boolean;
|
||||
// id: number;
|
||||
// idAlternate: number;
|
||||
// isUse: boolean;
|
||||
// materialOtherName: string;
|
||||
// materialName: string;
|
||||
// pathOtherName?: string;
|
||||
// pay_rettry_max_count: number;
|
||||
// RawMaterialUnit?: string;
|
||||
// RawMaterialData?: RawMaterialDatum[];
|
||||
// MaterialComment?: string;
|
||||
// MaterialStatusLastUpdate?: string;
|
||||
// feed_mode?: string;
|
||||
// MaterialParameter?: string;
|
||||
// }
|
||||
|
||||
type MaterialSetting struct {
|
||||
AlarmIDWhenOffline int `json:"AlarmIDWhenOffline"`
|
||||
BeanChannel bool `json:"BeanChannel"`
|
||||
CanisterType string `json:"CanisterType"`
|
||||
DrainTimer int `json:"DrainTimer"`
|
||||
}
|
||||
|
||||
type Recipe01 struct{}
|
||||
type Topping struct{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue