cc23c30c9e
CI / changes (push) Successful in 1m34s
CI / ad (push) Successful in 27s
CI / admin (push) Successful in 17s
CI / aiserver (push) Successful in 26s
CI / analysis (push) Successful in 22s
CI / bff (push) Successful in 21s
CI / chore (push) Successful in 20s
CI / equipment (push) Successful in 19s
CI / express (push) Successful in 19s
CI / factory (push) Successful in 19s
CI / message (push) Successful in 18s
CI / order (push) Successful in 19s
CI / payment (push) Successful in 17s
CI / percutaneous (push) Successful in 17s
CI / product (push) Successful in 19s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / store (push) Successful in 20s
CI / support (push) Successful in 19s
CI / task (push) Successful in 21s
CI / user (push) Successful in 22s
CI / water (push) Successful in 25s
CI / wecom (push) Successful in 21s
CI / ws (push) Successful in 9s
755 lines
26 KiB
Go
755 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.8
|
|
// source: aiserver/aiserver.proto
|
|
|
|
package aiserver
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApiAddProductRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProductCode string `protobuf:"bytes,1,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
|
|
ProductSerialNumber string `protobuf:"bytes,2,opt,name=product_serial_number,json=productSerialNumber,proto3" json:"product_serial_number,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiAddProductRequest) Reset() {
|
|
*x = ApiAddProductRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiAddProductRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiAddProductRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiAddProductRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiAddProductRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiAddProductRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ApiAddProductRequest) GetProductCode() string {
|
|
if x != nil {
|
|
return x.ProductCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiAddProductRequest) GetProductSerialNumber() string {
|
|
if x != nil {
|
|
return x.ProductSerialNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApiAddUseRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProductSerialNumber string `protobuf:"bytes,1,opt,name=product_serial_number,json=productSerialNumber,proto3" json:"product_serial_number,omitempty"`
|
|
Mg int32 `protobuf:"varint,2,opt,name=mg,proto3" json:"mg,omitempty"`
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiAddUseRequest) Reset() {
|
|
*x = ApiAddUseRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiAddUseRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiAddUseRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiAddUseRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiAddUseRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiAddUseRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ApiAddUseRequest) GetProductSerialNumber() string {
|
|
if x != nil {
|
|
return x.ProductSerialNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiAddUseRequest) GetMg() int32 {
|
|
if x != nil {
|
|
return x.Mg
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiAddUseRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ApiProductItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProductCode []string `protobuf:"bytes,1,rep,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiProductItemsRequest) Reset() {
|
|
*x = ApiProductItemsRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiProductItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiProductItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiProductItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiProductItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiProductItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ApiProductItemsRequest) GetProductCode() []string {
|
|
if x != nil {
|
|
return x.ProductCode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ApiEditPlanningRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
BeginTime string `protobuf:"bytes,2,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"`
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
EndTime string `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) Reset() {
|
|
*x = ApiEditPlanningRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiEditPlanningRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiEditPlanningRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiEditPlanningRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiEditPlanningRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) GetBeginTime() string {
|
|
if x != nil {
|
|
return x.BeginTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiEditPlanningRequest) GetEndTime() string {
|
|
if x != nil {
|
|
return x.EndTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApiEditPlanningProductRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProductCode string `protobuf:"bytes,1,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
|
|
UseMg int32 `protobuf:"varint,2,opt,name=use_mg,json=useMg,proto3" json:"use_mg,omitempty"`
|
|
PlanningId int64 `protobuf:"varint,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiEditPlanningProductRequest) Reset() {
|
|
*x = ApiEditPlanningProductRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiEditPlanningProductRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiEditPlanningProductRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiEditPlanningProductRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiEditPlanningProductRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiEditPlanningProductRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ApiEditPlanningProductRequest) GetProductCode() string {
|
|
if x != nil {
|
|
return x.ProductCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiEditPlanningProductRequest) GetUseMg() int32 {
|
|
if x != nil {
|
|
return x.UseMg
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiEditPlanningProductRequest) GetPlanningId() int64 {
|
|
if x != nil {
|
|
return x.PlanningId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ApiPlanningDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiPlanningDeleteRequest) Reset() {
|
|
*x = ApiPlanningDeleteRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiPlanningDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiPlanningDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiPlanningDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiPlanningDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiPlanningDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ApiPlanningDeleteRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type EmptyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmptyRequest) Reset() {
|
|
*x = EmptyRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmptyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyRequest) ProtoMessage() {}
|
|
|
|
func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmptyRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type ApiUsedItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
Time []string `protobuf:"bytes,3,rep,name=time,proto3" json:"time,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiUsedItemsRequest) Reset() {
|
|
*x = ApiUsedItemsRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiUsedItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiUsedItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiUsedItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiUsedItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiUsedItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ApiUsedItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiUsedItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiUsedItemsRequest) GetTime() []string {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ApiSystemSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lang int32 `protobuf:"varint,1,opt,name=lang,proto3" json:"lang,omitempty"` //语言
|
|
Wifi int32 `protobuf:"varint,2,opt,name=wifi,proto3" json:"wifi,omitempty"` //wifi
|
|
Screen int32 `protobuf:"varint,3,opt,name=screen,proto3" json:"screen,omitempty"` //屏幕亮度
|
|
Sound int32 `protobuf:"varint,4,opt,name=sound,proto3" json:"sound,omitempty"` //声音
|
|
LightOpen int32 `protobuf:"varint,5,opt,name=light_open,json=lightOpen,proto3" json:"light_open,omitempty"` //是否开灯
|
|
LightWorkTime string `protobuf:"bytes,6,opt,name=light_work_time,json=lightWorkTime,proto3" json:"light_work_time,omitempty"` //灯工作时间
|
|
LightBrightness int32 `protobuf:"varint,7,opt,name=light_brightness,json=lightBrightness,proto3" json:"light_brightness,omitempty"` //灯亮度
|
|
ScreenSleepTime int32 `protobuf:"varint,8,opt,name=screen_sleep_time,json=screenSleepTime,proto3" json:"screen_sleep_time,omitempty"` //屏幕休眠时间
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) Reset() {
|
|
*x = ApiSystemSetRequest{}
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiSystemSetRequest) ProtoMessage() {}
|
|
|
|
func (x *ApiSystemSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_aiserver_aiserver_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApiSystemSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApiSystemSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_aiserver_aiserver_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetLang() int32 {
|
|
if x != nil {
|
|
return x.Lang
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetWifi() int32 {
|
|
if x != nil {
|
|
return x.Wifi
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetScreen() int32 {
|
|
if x != nil {
|
|
return x.Screen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetSound() int32 {
|
|
if x != nil {
|
|
return x.Sound
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetLightOpen() int32 {
|
|
if x != nil {
|
|
return x.LightOpen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetLightWorkTime() string {
|
|
if x != nil {
|
|
return x.LightWorkTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetLightBrightness() int32 {
|
|
if x != nil {
|
|
return x.LightBrightness
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApiSystemSetRequest) GetScreenSleepTime() int32 {
|
|
if x != nil {
|
|
return x.ScreenSleepTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_aiserver_aiserver_proto protoreflect.FileDescriptor
|
|
|
|
const file_aiserver_aiserver_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x17aiserver/aiserver.proto\x12\baiserver\x1a\x1cgoogle/api/annotations.proto\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"m\n" +
|
|
"\x14ApiAddProductRequest\x12!\n" +
|
|
"\fproduct_code\x18\x01 \x01(\tR\vproductCode\x122\n" +
|
|
"\x15product_serial_number\x18\x02 \x01(\tR\x13productSerialNumber\"f\n" +
|
|
"\x10ApiAddUseRequest\x122\n" +
|
|
"\x15product_serial_number\x18\x01 \x01(\tR\x13productSerialNumber\x12\x0e\n" +
|
|
"\x02mg\x18\x02 \x01(\x05R\x02mg\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\x03R\x02id\";\n" +
|
|
"\x16ApiProductItemsRequest\x12!\n" +
|
|
"\fproduct_code\x18\x01 \x03(\tR\vproductCode\"v\n" +
|
|
"\x16ApiEditPlanningRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"begin_time\x18\x02 \x01(\tR\tbeginTime\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\x03R\x02id\x12\x19\n" +
|
|
"\bend_time\x18\x04 \x01(\tR\aendTime\"z\n" +
|
|
"\x1dApiEditPlanningProductRequest\x12!\n" +
|
|
"\fproduct_code\x18\x01 \x01(\tR\vproductCode\x12\x15\n" +
|
|
"\x06use_mg\x18\x02 \x01(\x05R\x05useMg\x12\x1f\n" +
|
|
"\vplanning_id\x18\x03 \x01(\x03R\n" +
|
|
"planningId\"*\n" +
|
|
"\x18ApiPlanningDeleteRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x0e\n" +
|
|
"\fEmptyRequest\"Q\n" +
|
|
"\x13ApiUsedItemsRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
|
|
"\x04time\x18\x03 \x03(\tR\x04time\"\x89\x02\n" +
|
|
"\x13ApiSystemSetRequest\x12\x12\n" +
|
|
"\x04lang\x18\x01 \x01(\x05R\x04lang\x12\x12\n" +
|
|
"\x04wifi\x18\x02 \x01(\x05R\x04wifi\x12\x16\n" +
|
|
"\x06screen\x18\x03 \x01(\x05R\x06screen\x12\x14\n" +
|
|
"\x05sound\x18\x04 \x01(\x05R\x05sound\x12\x1d\n" +
|
|
"\n" +
|
|
"light_open\x18\x05 \x01(\x05R\tlightOpen\x12&\n" +
|
|
"\x0flight_work_time\x18\x06 \x01(\tR\rlightWorkTime\x12)\n" +
|
|
"\x10light_brightness\x18\a \x01(\x05R\x0flightBrightness\x12*\n" +
|
|
"\x11screen_sleep_time\x18\b \x01(\x05R\x0fscreenSleepTime2\xf3\n" +
|
|
"\n" +
|
|
"\bAiserver\x12i\n" +
|
|
"\rApiAddProduct\x12\x1e.aiserver.ApiAddProductRequest\x1a\x12.aiserver.Response\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/api/v3/aiserver/add/product\x12]\n" +
|
|
"\tApiAddUse\x12\x1a.aiserver.ApiAddUseRequest\x1a\x12.aiserver.Response\" \x82\xd3\xe4\x93\x02\x1a\"\x18/api/v3/aiserver/add/use\x12o\n" +
|
|
"\x0fApiProductItems\x12 .aiserver.ApiProductItemsRequest\x1a\x12.aiserver.Response\"&\x82\xd3\xe4\x93\x02 \"\x1e/api/v3/aiserver/product/items\x12m\n" +
|
|
"\x0eApiAddPlanning\x12 .aiserver.ApiEditPlanningRequest\x1a\x12.aiserver.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/api/v3/aiserver/add/planning\x12|\n" +
|
|
"\x16ApiEditPlanningProduct\x12'.aiserver.ApiEditPlanningProductRequest\x1a\x12.aiserver.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/api/v3/aiserver/add/planning\x12o\n" +
|
|
"\x0fApiEditPlanning\x12 .aiserver.ApiEditPlanningRequest\x1a\x12.aiserver.Response\"&\x82\xd3\xe4\x93\x02 \"\x1e/api/v3/aiserver/edit/planning\x12g\n" +
|
|
"\x10ApiPlanningItems\x12\x16.aiserver.EmptyRequest\x1a\x12.aiserver.Response\"'\x82\xd3\xe4\x93\x02!\"\x1f/api/v3/aiserver/planning/items\x12u\n" +
|
|
"\x11ApiPlanningDelete\x12\".aiserver.ApiPlanningDeleteRequest\x1a\x12.aiserver.Response\"(\x82\xd3\xe4\x93\x02\"\" /api/v3/aiserver/planning/delete\x12Z\n" +
|
|
"\n" +
|
|
"ApiWeather\x12\x16.aiserver.EmptyRequest\x1a\x12.aiserver.Response\" \x82\xd3\xe4\x93\x02\x1a\"\x18/api/v3/aiserver/weather\x12f\n" +
|
|
"\fApiUsedItems\x12\x1d.aiserver.ApiUsedItemsRequest\x1a\x12.aiserver.Response\"#\x82\xd3\xe4\x93\x02\x1d\"\x1b/api/v3/aiserver/used/items\x12a\n" +
|
|
"\rApiSystemTime\x12\x16.aiserver.EmptyRequest\x1a\x12.aiserver.Response\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/api/v3/aiserver/system/time\x12f\n" +
|
|
"\fApiSystemSet\x12\x1d.aiserver.ApiSystemSetRequest\x1a\x12.aiserver.Response\"#\x82\xd3\xe4\x93\x02\x1d\"\x1b/api/v3/aiserver/system/set\x12_\n" +
|
|
"\fApiGetSystem\x12\x16.aiserver.EmptyRequest\x1a\x12.aiserver.Response\"#\x82\xd3\xe4\x93\x02\x1d\"\x1b/api/v3/aiserver/get/systemB\fZ\n" +
|
|
"./aiserverb\x06proto3"
|
|
|
|
var (
|
|
file_aiserver_aiserver_proto_rawDescOnce sync.Once
|
|
file_aiserver_aiserver_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_aiserver_aiserver_proto_rawDescGZIP() []byte {
|
|
file_aiserver_aiserver_proto_rawDescOnce.Do(func() {
|
|
file_aiserver_aiserver_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_aiserver_aiserver_proto_rawDesc), len(file_aiserver_aiserver_proto_rawDesc)))
|
|
})
|
|
return file_aiserver_aiserver_proto_rawDescData
|
|
}
|
|
|
|
var file_aiserver_aiserver_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_aiserver_aiserver_proto_goTypes = []any{
|
|
(*Response)(nil), // 0: aiserver.Response
|
|
(*ApiAddProductRequest)(nil), // 1: aiserver.ApiAddProductRequest
|
|
(*ApiAddUseRequest)(nil), // 2: aiserver.ApiAddUseRequest
|
|
(*ApiProductItemsRequest)(nil), // 3: aiserver.ApiProductItemsRequest
|
|
(*ApiEditPlanningRequest)(nil), // 4: aiserver.ApiEditPlanningRequest
|
|
(*ApiEditPlanningProductRequest)(nil), // 5: aiserver.ApiEditPlanningProductRequest
|
|
(*ApiPlanningDeleteRequest)(nil), // 6: aiserver.ApiPlanningDeleteRequest
|
|
(*EmptyRequest)(nil), // 7: aiserver.EmptyRequest
|
|
(*ApiUsedItemsRequest)(nil), // 8: aiserver.ApiUsedItemsRequest
|
|
(*ApiSystemSetRequest)(nil), // 9: aiserver.ApiSystemSetRequest
|
|
}
|
|
var file_aiserver_aiserver_proto_depIdxs = []int32{
|
|
1, // 0: aiserver.Aiserver.ApiAddProduct:input_type -> aiserver.ApiAddProductRequest
|
|
2, // 1: aiserver.Aiserver.ApiAddUse:input_type -> aiserver.ApiAddUseRequest
|
|
3, // 2: aiserver.Aiserver.ApiProductItems:input_type -> aiserver.ApiProductItemsRequest
|
|
4, // 3: aiserver.Aiserver.ApiAddPlanning:input_type -> aiserver.ApiEditPlanningRequest
|
|
5, // 4: aiserver.Aiserver.ApiEditPlanningProduct:input_type -> aiserver.ApiEditPlanningProductRequest
|
|
4, // 5: aiserver.Aiserver.ApiEditPlanning:input_type -> aiserver.ApiEditPlanningRequest
|
|
7, // 6: aiserver.Aiserver.ApiPlanningItems:input_type -> aiserver.EmptyRequest
|
|
6, // 7: aiserver.Aiserver.ApiPlanningDelete:input_type -> aiserver.ApiPlanningDeleteRequest
|
|
7, // 8: aiserver.Aiserver.ApiWeather:input_type -> aiserver.EmptyRequest
|
|
8, // 9: aiserver.Aiserver.ApiUsedItems:input_type -> aiserver.ApiUsedItemsRequest
|
|
7, // 10: aiserver.Aiserver.ApiSystemTime:input_type -> aiserver.EmptyRequest
|
|
9, // 11: aiserver.Aiserver.ApiSystemSet:input_type -> aiserver.ApiSystemSetRequest
|
|
7, // 12: aiserver.Aiserver.ApiGetSystem:input_type -> aiserver.EmptyRequest
|
|
0, // 13: aiserver.Aiserver.ApiAddProduct:output_type -> aiserver.Response
|
|
0, // 14: aiserver.Aiserver.ApiAddUse:output_type -> aiserver.Response
|
|
0, // 15: aiserver.Aiserver.ApiProductItems:output_type -> aiserver.Response
|
|
0, // 16: aiserver.Aiserver.ApiAddPlanning:output_type -> aiserver.Response
|
|
0, // 17: aiserver.Aiserver.ApiEditPlanningProduct:output_type -> aiserver.Response
|
|
0, // 18: aiserver.Aiserver.ApiEditPlanning:output_type -> aiserver.Response
|
|
0, // 19: aiserver.Aiserver.ApiPlanningItems:output_type -> aiserver.Response
|
|
0, // 20: aiserver.Aiserver.ApiPlanningDelete:output_type -> aiserver.Response
|
|
0, // 21: aiserver.Aiserver.ApiWeather:output_type -> aiserver.Response
|
|
0, // 22: aiserver.Aiserver.ApiUsedItems:output_type -> aiserver.Response
|
|
0, // 23: aiserver.Aiserver.ApiSystemTime:output_type -> aiserver.Response
|
|
0, // 24: aiserver.Aiserver.ApiSystemSet:output_type -> aiserver.Response
|
|
0, // 25: aiserver.Aiserver.ApiGetSystem:output_type -> aiserver.Response
|
|
13, // [13:26] is the sub-list for method output_type
|
|
0, // [0:13] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_aiserver_aiserver_proto_init() }
|
|
func file_aiserver_aiserver_proto_init() {
|
|
if File_aiserver_aiserver_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_aiserver_aiserver_proto_rawDesc), len(file_aiserver_aiserver_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_aiserver_aiserver_proto_goTypes,
|
|
DependencyIndexes: file_aiserver_aiserver_proto_depIdxs,
|
|
MessageInfos: file_aiserver_aiserver_proto_msgTypes,
|
|
}.Build()
|
|
File_aiserver_aiserver_proto = out.File
|
|
file_aiserver_aiserver_proto_goTypes = nil
|
|
file_aiserver_aiserver_proto_depIdxs = nil
|
|
}
|