Qot_GetHistoryKLPoints

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Default_Response_RetType int32 = -400

Variables

View Source
var DataStatus_name = map[int32]string{
	0: "DataStatus_Null",
	1: "DataStatus_Current",
	2: "DataStatus_Previous",
	3: "DataStatus_Back",
}
View Source
var DataStatus_value = map[string]int32{
	"DataStatus_Null":     0,
	"DataStatus_Current":  1,
	"DataStatus_Previous": 2,
	"DataStatus_Back":     3,
}
View Source
var NoDataMode_name = map[int32]string{
	0: "NoDataMode_Null",
	1: "NoDataMode_Forward",
	2: "NoDataMode_Backward",
}
View Source
var NoDataMode_value = map[string]int32{
	"NoDataMode_Null":     0,
	"NoDataMode_Forward":  1,
	"NoDataMode_Backward": 2,
}

Functions

This section is empty.

Types

type C2S

type C2S struct {
	RehabType            *int32                 `protobuf:"varint,1,req,name=rehabType" json:"rehabType,omitempty"`
	KlType               *int32                 `protobuf:"varint,2,req,name=klType" json:"klType,omitempty"`
	NoDataMode           *int32                 `protobuf:"varint,3,req,name=noDataMode" json:"noDataMode,omitempty"`
	SecurityList         []*Qot_Common.Security `protobuf:"bytes,4,rep,name=securityList" json:"securityList,omitempty"`
	TimeList             []string               `protobuf:"bytes,5,rep,name=timeList" json:"timeList,omitempty"`
	MaxReqSecurityNum    *int32                 `protobuf:"varint,6,opt,name=maxReqSecurityNum" json:"maxReqSecurityNum,omitempty"`
	NeedKLFieldsFlag     *int64                 `protobuf:"varint,7,opt,name=needKLFieldsFlag" json:"needKLFieldsFlag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*C2S) Descriptor

func (*C2S) Descriptor() ([]byte, []int)

func (*C2S) GetKlType

func (m *C2S) GetKlType() int32

func (*C2S) GetMaxReqSecurityNum

func (m *C2S) GetMaxReqSecurityNum() int32

func (*C2S) GetNeedKLFieldsFlag

func (m *C2S) GetNeedKLFieldsFlag() int64

func (*C2S) GetNoDataMode

func (m *C2S) GetNoDataMode() int32

func (*C2S) GetRehabType

func (m *C2S) GetRehabType() int32

func (*C2S) GetSecurityList

func (m *C2S) GetSecurityList() []*Qot_Common.Security

func (*C2S) GetTimeList

func (m *C2S) GetTimeList() []string

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) Reset

func (m *C2S) Reset()

func (*C2S) String

func (m *C2S) String() string

func (*C2S) XXX_DiscardUnknown

func (m *C2S) XXX_DiscardUnknown()

func (*C2S) XXX_Marshal

func (m *C2S) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*C2S) XXX_Merge

func (dst *C2S) XXX_Merge(src proto.Message)

func (*C2S) XXX_Size

func (m *C2S) XXX_Size() int

func (*C2S) XXX_Unmarshal

func (m *C2S) XXX_Unmarshal(b []byte) error

type DataStatus

type DataStatus int32

这个时间点返回数据的状态以及来源

const (
	DataStatus_DataStatus_Null     DataStatus = 0
	DataStatus_DataStatus_Current  DataStatus = 1
	DataStatus_DataStatus_Previous DataStatus = 2
	DataStatus_DataStatus_Back     DataStatus = 3
)

func (DataStatus) Enum

func (x DataStatus) Enum() *DataStatus

func (DataStatus) EnumDescriptor

func (DataStatus) EnumDescriptor() ([]byte, []int)

func (DataStatus) String

func (x DataStatus) String() string

func (*DataStatus) UnmarshalJSON

func (x *DataStatus) UnmarshalJSON(data []byte) error

type HistoryPointsKL

type HistoryPointsKL struct {
	Status               *int32            `protobuf:"varint,1,req,name=status" json:"status,omitempty"`
	ReqTime              *string           `protobuf:"bytes,2,req,name=reqTime" json:"reqTime,omitempty"`
	Kl                   *Qot_Common.KLine `protobuf:"bytes,3,req,name=kl" json:"kl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HistoryPointsKL) Descriptor

func (*HistoryPointsKL) Descriptor() ([]byte, []int)

func (*HistoryPointsKL) GetKl

func (m *HistoryPointsKL) GetKl() *Qot_Common.KLine

func (*HistoryPointsKL) GetReqTime

func (m *HistoryPointsKL) GetReqTime() string

func (*HistoryPointsKL) GetStatus

func (m *HistoryPointsKL) GetStatus() int32

func (*HistoryPointsKL) ProtoMessage

func (*HistoryPointsKL) ProtoMessage()

func (*HistoryPointsKL) Reset

func (m *HistoryPointsKL) Reset()

func (*HistoryPointsKL) String

func (m *HistoryPointsKL) String() string

func (*HistoryPointsKL) XXX_DiscardUnknown

func (m *HistoryPointsKL) XXX_DiscardUnknown()

func (*HistoryPointsKL) XXX_Marshal

func (m *HistoryPointsKL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistoryPointsKL) XXX_Merge

func (dst *HistoryPointsKL) XXX_Merge(src proto.Message)

func (*HistoryPointsKL) XXX_Size

func (m *HistoryPointsKL) XXX_Size() int

func (*HistoryPointsKL) XXX_Unmarshal

func (m *HistoryPointsKL) XXX_Unmarshal(b []byte) error

type NoDataMode

type NoDataMode int32

当请求时间点数据为空时,如何返回数据

const (
	NoDataMode_NoDataMode_Null     NoDataMode = 0
	NoDataMode_NoDataMode_Forward  NoDataMode = 1
	NoDataMode_NoDataMode_Backward NoDataMode = 2
)

func (NoDataMode) Enum

func (x NoDataMode) Enum() *NoDataMode

func (NoDataMode) EnumDescriptor

func (NoDataMode) EnumDescriptor() ([]byte, []int)

func (NoDataMode) String

func (x NoDataMode) String() string

func (*NoDataMode) UnmarshalJSON

func (x *NoDataMode) UnmarshalJSON(data []byte) error

type Request

type Request struct {
	C2S                  *C2S     `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) GetC2S

func (m *Request) GetC2S() *C2S

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (dst *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type Response

type Response struct {
	RetType              *int32   `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"`
	RetMsg               *string  `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
	ErrCode              *int32   `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"`
	S2C                  *S2C     `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetErrCode

func (m *Response) GetErrCode() int32

func (*Response) GetRetMsg

func (m *Response) GetRetMsg() string

func (*Response) GetRetType

func (m *Response) GetRetType() int32

func (*Response) GetS2C

func (m *Response) GetS2C() *S2C

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (dst *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type S2C

type S2C struct {
	KlPointList          []*SecurityHistoryKLPoints `protobuf:"bytes,1,rep,name=klPointList" json:"klPointList,omitempty"`
	HasNext              *bool                      `protobuf:"varint,2,opt,name=hasNext" json:"hasNext,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*S2C) Descriptor

func (*S2C) Descriptor() ([]byte, []int)

func (*S2C) GetHasNext

func (m *S2C) GetHasNext() bool

func (*S2C) GetKlPointList

func (m *S2C) GetKlPointList() []*SecurityHistoryKLPoints

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

func (*S2C) XXX_DiscardUnknown

func (m *S2C) XXX_DiscardUnknown()

func (*S2C) XXX_Marshal

func (m *S2C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S2C) XXX_Merge

func (dst *S2C) XXX_Merge(src proto.Message)

func (*S2C) XXX_Size

func (m *S2C) XXX_Size() int

func (*S2C) XXX_Unmarshal

func (m *S2C) XXX_Unmarshal(b []byte) error

type SecurityHistoryKLPoints

type SecurityHistoryKLPoints struct {
	Security             *Qot_Common.Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"`
	KlList               []*HistoryPointsKL   `protobuf:"bytes,2,rep,name=klList" json:"klList,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*SecurityHistoryKLPoints) Descriptor

func (*SecurityHistoryKLPoints) Descriptor() ([]byte, []int)

func (*SecurityHistoryKLPoints) GetKlList

func (m *SecurityHistoryKLPoints) GetKlList() []*HistoryPointsKL

func (*SecurityHistoryKLPoints) GetSecurity

func (m *SecurityHistoryKLPoints) GetSecurity() *Qot_Common.Security

func (*SecurityHistoryKLPoints) ProtoMessage

func (*SecurityHistoryKLPoints) ProtoMessage()

func (*SecurityHistoryKLPoints) Reset

func (m *SecurityHistoryKLPoints) Reset()

func (*SecurityHistoryKLPoints) String

func (m *SecurityHistoryKLPoints) String() string

func (*SecurityHistoryKLPoints) XXX_DiscardUnknown

func (m *SecurityHistoryKLPoints) XXX_DiscardUnknown()

func (*SecurityHistoryKLPoints) XXX_Marshal

func (m *SecurityHistoryKLPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityHistoryKLPoints) XXX_Merge

func (dst *SecurityHistoryKLPoints) XXX_Merge(src proto.Message)

func (*SecurityHistoryKLPoints) XXX_Size

func (m *SecurityHistoryKLPoints) XXX_Size() int

func (*SecurityHistoryKLPoints) XXX_Unmarshal

func (m *SecurityHistoryKLPoints) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL