|
@@ -1,7 +1,7 @@
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// versions:
|
|
-// - protoc-gen-go-grpc v1.3.0
|
|
|
|
-// - protoc v3.21.12
|
|
|
|
|
|
+// - protoc-gen-go-grpc v1.2.0
|
|
|
|
+// - protoc v4.23.4
|
|
// source: organization.proto
|
|
// source: organization.proto
|
|
|
|
|
|
package pb
|
|
package pb
|
|
@@ -18,25 +18,12 @@ import (
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
|
|
-const (
|
|
|
|
- Organization_GetWorkingUfByCode_FullMethodName = "/pb.Organization/GetWorkingUfByCode"
|
|
|
|
- Organization_GetWorkingRoByCode_FullMethodName = "/pb.Organization/GetWorkingRoByCode"
|
|
|
|
- Organization_GetWorkingChestByCode_FullMethodName = "/pb.Organization/GetWorkingChestByCode"
|
|
|
|
- Organization_GetWorkingPumpByCode_FullMethodName = "/pb.Organization/GetWorkingPumpByCode"
|
|
|
|
- Organization_GetWorkingValveByCode_FullMethodName = "/pb.Organization/GetWorkingValveByCode"
|
|
|
|
- Organization_MultiAddItemHistoryData_FullMethodName = "/pb.Organization/MultiAddItemHistoryData"
|
|
|
|
- Organization_ItemHistoryDataList_FullMethodName = "/pb.Organization/ItemHistoryDataList"
|
|
|
|
- Organization_ItemHistoryDataByTime_FullMethodName = "/pb.Organization/ItemHistoryDataByTime"
|
|
|
|
- Organization_ItemHistoryDataMaxMinByTime_FullMethodName = "/pb.Organization/ItemHistoryDataMaxMinByTime"
|
|
|
|
- Organization_ItemHistoryDataFirstLastByTime_FullMethodName = "/pb.Organization/ItemHistoryDataFirstLastByTime"
|
|
|
|
- Organization_ChangeTypeItemHistoryData_FullMethodName = "/pb.Organization/ChangeTypeItemHistoryData"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
// OrganizationClient is the client API for Organization service.
|
|
// OrganizationClient is the client API for Organization service.
|
|
//
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
type OrganizationClient interface {
|
|
type OrganizationClient interface {
|
|
GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error)
|
|
GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error)
|
|
|
|
+ FindWorkingUfByCycle(ctx context.Context, in *FindWorkingUfByCycleReq, opts ...grpc.CallOption) (*FindWorkingUfByCycleResp, error)
|
|
GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error)
|
|
GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error)
|
|
GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error)
|
|
GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error)
|
|
GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error)
|
|
GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error)
|
|
@@ -59,7 +46,16 @@ func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient {
|
|
|
|
|
|
func (c *organizationClient) GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error) {
|
|
func (c *organizationClient) GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error) {
|
|
out := new(GetWorkingUfByCodeResp)
|
|
out := new(GetWorkingUfByCodeResp)
|
|
- err := c.cc.Invoke(ctx, Organization_GetWorkingUfByCode_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingUfByCode", in, out, opts...)
|
|
|
|
+ if err != nil {
|
|
|
|
+ return nil, err
|
|
|
|
+ }
|
|
|
|
+ return out, nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (c *organizationClient) FindWorkingUfByCycle(ctx context.Context, in *FindWorkingUfByCycleReq, opts ...grpc.CallOption) (*FindWorkingUfByCycleResp, error) {
|
|
|
|
+ out := new(FindWorkingUfByCycleResp)
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/FindWorkingUfByCycle", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -68,7 +64,7 @@ func (c *organizationClient) GetWorkingUfByCode(ctx context.Context, in *DcWorki
|
|
|
|
|
|
func (c *organizationClient) GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error) {
|
|
func (c *organizationClient) GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error) {
|
|
out := new(GetWorkingRoByCodeResp)
|
|
out := new(GetWorkingRoByCodeResp)
|
|
- err := c.cc.Invoke(ctx, Organization_GetWorkingRoByCode_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingRoByCode", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -77,7 +73,7 @@ func (c *organizationClient) GetWorkingRoByCode(ctx context.Context, in *DcWorki
|
|
|
|
|
|
func (c *organizationClient) GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error) {
|
|
func (c *organizationClient) GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error) {
|
|
out := new(GetWorkingChestByCodeResp)
|
|
out := new(GetWorkingChestByCodeResp)
|
|
- err := c.cc.Invoke(ctx, Organization_GetWorkingChestByCode_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingChestByCode", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -86,7 +82,7 @@ func (c *organizationClient) GetWorkingChestByCode(ctx context.Context, in *DcWo
|
|
|
|
|
|
func (c *organizationClient) GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error) {
|
|
func (c *organizationClient) GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error) {
|
|
out := new(GetWorkingPumpByCodeResp)
|
|
out := new(GetWorkingPumpByCodeResp)
|
|
- err := c.cc.Invoke(ctx, Organization_GetWorkingPumpByCode_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingPumpByCode", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -95,7 +91,7 @@ func (c *organizationClient) GetWorkingPumpByCode(ctx context.Context, in *DcWor
|
|
|
|
|
|
func (c *organizationClient) GetWorkingValveByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingValveByCodeResp, error) {
|
|
func (c *organizationClient) GetWorkingValveByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingValveByCodeResp, error) {
|
|
out := new(GetWorkingValveByCodeResp)
|
|
out := new(GetWorkingValveByCodeResp)
|
|
- err := c.cc.Invoke(ctx, Organization_GetWorkingValveByCode_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingValveByCode", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -104,7 +100,7 @@ func (c *organizationClient) GetWorkingValveByCode(ctx context.Context, in *DcWo
|
|
|
|
|
|
func (c *organizationClient) MultiAddItemHistoryData(ctx context.Context, in *MultiAddItemHistoryDataReq, opts ...grpc.CallOption) (*MultiAddItemHistoryDataResp, error) {
|
|
func (c *organizationClient) MultiAddItemHistoryData(ctx context.Context, in *MultiAddItemHistoryDataReq, opts ...grpc.CallOption) (*MultiAddItemHistoryDataResp, error) {
|
|
out := new(MultiAddItemHistoryDataResp)
|
|
out := new(MultiAddItemHistoryDataResp)
|
|
- err := c.cc.Invoke(ctx, Organization_MultiAddItemHistoryData_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/MultiAddItemHistoryData", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -113,7 +109,7 @@ func (c *organizationClient) MultiAddItemHistoryData(ctx context.Context, in *Mu
|
|
|
|
|
|
func (c *organizationClient) ItemHistoryDataList(ctx context.Context, in *ItemHistoryDataListReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
|
|
func (c *organizationClient) ItemHistoryDataList(ctx context.Context, in *ItemHistoryDataListReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
|
|
out := new(ItemHistoryDataListResp)
|
|
out := new(ItemHistoryDataListResp)
|
|
- err := c.cc.Invoke(ctx, Organization_ItemHistoryDataList_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataList", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -122,7 +118,7 @@ func (c *organizationClient) ItemHistoryDataList(ctx context.Context, in *ItemHi
|
|
|
|
|
|
func (c *organizationClient) ItemHistoryDataByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
|
|
func (c *organizationClient) ItemHistoryDataByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
|
|
out := new(ItemHistoryDataListResp)
|
|
out := new(ItemHistoryDataListResp)
|
|
- err := c.cc.Invoke(ctx, Organization_ItemHistoryDataByTime_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataByTime", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -131,7 +127,7 @@ func (c *organizationClient) ItemHistoryDataByTime(ctx context.Context, in *Item
|
|
|
|
|
|
func (c *organizationClient) ItemHistoryDataMaxMinByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataMaxMinResp, error) {
|
|
func (c *organizationClient) ItemHistoryDataMaxMinByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataMaxMinResp, error) {
|
|
out := new(ItemHistoryDataMaxMinResp)
|
|
out := new(ItemHistoryDataMaxMinResp)
|
|
- err := c.cc.Invoke(ctx, Organization_ItemHistoryDataMaxMinByTime_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataMaxMinByTime", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -140,7 +136,7 @@ func (c *organizationClient) ItemHistoryDataMaxMinByTime(ctx context.Context, in
|
|
|
|
|
|
func (c *organizationClient) ItemHistoryDataFirstLastByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataFirstLastResp, error) {
|
|
func (c *organizationClient) ItemHistoryDataFirstLastByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataFirstLastResp, error) {
|
|
out := new(ItemHistoryDataFirstLastResp)
|
|
out := new(ItemHistoryDataFirstLastResp)
|
|
- err := c.cc.Invoke(ctx, Organization_ItemHistoryDataFirstLastByTime_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataFirstLastByTime", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -149,7 +145,7 @@ func (c *organizationClient) ItemHistoryDataFirstLastByTime(ctx context.Context,
|
|
|
|
|
|
func (c *organizationClient) ChangeTypeItemHistoryData(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ChangeTypeItemHistoryDataResp, error) {
|
|
func (c *organizationClient) ChangeTypeItemHistoryData(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ChangeTypeItemHistoryDataResp, error) {
|
|
out := new(ChangeTypeItemHistoryDataResp)
|
|
out := new(ChangeTypeItemHistoryDataResp)
|
|
- err := c.cc.Invoke(ctx, Organization_ChangeTypeItemHistoryData_FullMethodName, in, out, opts...)
|
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "/pb.Organization/ChangeTypeItemHistoryData", in, out, opts...)
|
|
if err != nil {
|
|
if err != nil {
|
|
return nil, err
|
|
return nil, err
|
|
}
|
|
}
|
|
@@ -161,6 +157,7 @@ func (c *organizationClient) ChangeTypeItemHistoryData(ctx context.Context, in *
|
|
// for forward compatibility
|
|
// for forward compatibility
|
|
type OrganizationServer interface {
|
|
type OrganizationServer interface {
|
|
GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error)
|
|
GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error)
|
|
|
|
+ FindWorkingUfByCycle(context.Context, *FindWorkingUfByCycleReq) (*FindWorkingUfByCycleResp, error)
|
|
GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error)
|
|
GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error)
|
|
GetWorkingChestByCode(context.Context, *DcWorkingReq) (*GetWorkingChestByCodeResp, error)
|
|
GetWorkingChestByCode(context.Context, *DcWorkingReq) (*GetWorkingChestByCodeResp, error)
|
|
GetWorkingPumpByCode(context.Context, *DcWorkingReq) (*GetWorkingPumpByCodeResp, error)
|
|
GetWorkingPumpByCode(context.Context, *DcWorkingReq) (*GetWorkingPumpByCodeResp, error)
|
|
@@ -181,6 +178,9 @@ type UnimplementedOrganizationServer struct {
|
|
func (UnimplementedOrganizationServer) GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error) {
|
|
func (UnimplementedOrganizationServer) GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkingUfByCode not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkingUfByCode not implemented")
|
|
}
|
|
}
|
|
|
|
+func (UnimplementedOrganizationServer) FindWorkingUfByCycle(context.Context, *FindWorkingUfByCycleReq) (*FindWorkingUfByCycleResp, error) {
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method FindWorkingUfByCycle not implemented")
|
|
|
|
+}
|
|
func (UnimplementedOrganizationServer) GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error) {
|
|
func (UnimplementedOrganizationServer) GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkingRoByCode not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkingRoByCode not implemented")
|
|
}
|
|
}
|
|
@@ -234,7 +234,7 @@ func _Organization_GetWorkingUfByCode_Handler(srv interface{}, ctx context.Conte
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_GetWorkingUfByCode_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/GetWorkingUfByCode",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetWorkingUfByCode(ctx, req.(*DcWorkingReq))
|
|
return srv.(OrganizationServer).GetWorkingUfByCode(ctx, req.(*DcWorkingReq))
|
|
@@ -242,6 +242,24 @@ func _Organization_GetWorkingUfByCode_Handler(srv interface{}, ctx context.Conte
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func _Organization_FindWorkingUfByCycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
+ in := new(FindWorkingUfByCycleReq)
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
+ return nil, err
|
|
|
|
+ }
|
|
|
|
+ if interceptor == nil {
|
|
|
|
+ return srv.(OrganizationServer).FindWorkingUfByCycle(ctx, in)
|
|
|
|
+ }
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
+ Server: srv,
|
|
|
|
+ FullMethod: "/pb.Organization/FindWorkingUfByCycle",
|
|
|
|
+ }
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
+ return srv.(OrganizationServer).FindWorkingUfByCycle(ctx, req.(*FindWorkingUfByCycleReq))
|
|
|
|
+ }
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
+}
|
|
|
|
+
|
|
func _Organization_GetWorkingRoByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _Organization_GetWorkingRoByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DcWorkingReq)
|
|
in := new(DcWorkingReq)
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
@@ -252,7 +270,7 @@ func _Organization_GetWorkingRoByCode_Handler(srv interface{}, ctx context.Conte
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_GetWorkingRoByCode_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/GetWorkingRoByCode",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetWorkingRoByCode(ctx, req.(*DcWorkingReq))
|
|
return srv.(OrganizationServer).GetWorkingRoByCode(ctx, req.(*DcWorkingReq))
|
|
@@ -270,7 +288,7 @@ func _Organization_GetWorkingChestByCode_Handler(srv interface{}, ctx context.Co
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_GetWorkingChestByCode_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/GetWorkingChestByCode",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetWorkingChestByCode(ctx, req.(*DcWorkingReq))
|
|
return srv.(OrganizationServer).GetWorkingChestByCode(ctx, req.(*DcWorkingReq))
|
|
@@ -288,7 +306,7 @@ func _Organization_GetWorkingPumpByCode_Handler(srv interface{}, ctx context.Con
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_GetWorkingPumpByCode_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/GetWorkingPumpByCode",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetWorkingPumpByCode(ctx, req.(*DcWorkingReq))
|
|
return srv.(OrganizationServer).GetWorkingPumpByCode(ctx, req.(*DcWorkingReq))
|
|
@@ -306,7 +324,7 @@ func _Organization_GetWorkingValveByCode_Handler(srv interface{}, ctx context.Co
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_GetWorkingValveByCode_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/GetWorkingValveByCode",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetWorkingValveByCode(ctx, req.(*DcWorkingReq))
|
|
return srv.(OrganizationServer).GetWorkingValveByCode(ctx, req.(*DcWorkingReq))
|
|
@@ -324,7 +342,7 @@ func _Organization_MultiAddItemHistoryData_Handler(srv interface{}, ctx context.
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_MultiAddItemHistoryData_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/MultiAddItemHistoryData",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).MultiAddItemHistoryData(ctx, req.(*MultiAddItemHistoryDataReq))
|
|
return srv.(OrganizationServer).MultiAddItemHistoryData(ctx, req.(*MultiAddItemHistoryDataReq))
|
|
@@ -342,7 +360,7 @@ func _Organization_ItemHistoryDataList_Handler(srv interface{}, ctx context.Cont
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_ItemHistoryDataList_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/ItemHistoryDataList",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).ItemHistoryDataList(ctx, req.(*ItemHistoryDataListReq))
|
|
return srv.(OrganizationServer).ItemHistoryDataList(ctx, req.(*ItemHistoryDataListReq))
|
|
@@ -360,7 +378,7 @@ func _Organization_ItemHistoryDataByTime_Handler(srv interface{}, ctx context.Co
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_ItemHistoryDataByTime_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/ItemHistoryDataByTime",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).ItemHistoryDataByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
return srv.(OrganizationServer).ItemHistoryDataByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
@@ -378,7 +396,7 @@ func _Organization_ItemHistoryDataMaxMinByTime_Handler(srv interface{}, ctx cont
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_ItemHistoryDataMaxMinByTime_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/ItemHistoryDataMaxMinByTime",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).ItemHistoryDataMaxMinByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
return srv.(OrganizationServer).ItemHistoryDataMaxMinByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
@@ -396,7 +414,7 @@ func _Organization_ItemHistoryDataFirstLastByTime_Handler(srv interface{}, ctx c
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_ItemHistoryDataFirstLastByTime_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/ItemHistoryDataFirstLastByTime",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).ItemHistoryDataFirstLastByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
return srv.(OrganizationServer).ItemHistoryDataFirstLastByTime(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
@@ -414,7 +432,7 @@ func _Organization_ChangeTypeItemHistoryData_Handler(srv interface{}, ctx contex
|
|
}
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
Server: srv,
|
|
- FullMethod: Organization_ChangeTypeItemHistoryData_FullMethodName,
|
|
|
|
|
|
+ FullMethod: "/pb.Organization/ChangeTypeItemHistoryData",
|
|
}
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).ChangeTypeItemHistoryData(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
return srv.(OrganizationServer).ChangeTypeItemHistoryData(ctx, req.(*ItemHistoryDataByTimeReq))
|
|
@@ -433,6 +451,10 @@ var Organization_ServiceDesc = grpc.ServiceDesc{
|
|
MethodName: "GetWorkingUfByCode",
|
|
MethodName: "GetWorkingUfByCode",
|
|
Handler: _Organization_GetWorkingUfByCode_Handler,
|
|
Handler: _Organization_GetWorkingUfByCode_Handler,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ MethodName: "FindWorkingUfByCycle",
|
|
|
|
+ Handler: _Organization_FindWorkingUfByCycle_Handler,
|
|
|
|
+ },
|
|
{
|
|
{
|
|
MethodName: "GetWorkingRoByCode",
|
|
MethodName: "GetWorkingRoByCode",
|
|
Handler: _Organization_GetWorkingRoByCode_Handler,
|
|
Handler: _Organization_GetWorkingRoByCode_Handler,
|