You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
6.4 KiB

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: IndexKLineMessage.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='IndexKLineMessage.proto',
package='',
syntax='proto2',
serialized_options=None,
serialized_pb=b'\n\x17IndexKLineMessage.proto\"\xf3\x01\n\x0fIndexKLineArray\x12\x32\n\tdataArray\x18\x01 \x03(\x0b\x32\x1f.IndexKLineArray.IndexKLineData\x1a\xab\x01\n\x0eIndexKLineData\x12\x0c\n\x04\x63ode\x18\x01 \x02(\x05\x12\x0f\n\x07m_nDate\x18\x02 \x02(\x05\x12\x0f\n\x07m_nTime\x18\x03 \x02(\x05\x12\x0f\n\x07m_nOpen\x18\x04 \x02(\x01\x12\x0f\n\x07m_nHigh\x18\x05 \x02(\x01\x12\x0e\n\x06m_nLow\x18\x06 \x02(\x01\x12\x10\n\x08m_nClose\x18\x07 \x02(\x01\x12\x11\n\tm_iVolume\x18\x08 \x02(\x03\x12\x12\n\nm_iTurover\x18\t \x02(\x03'
)
_INDEXKLINEARRAY_INDEXKLINEDATA = _descriptor.Descriptor(
name='IndexKLineData',
full_name='IndexKLineArray.IndexKLineData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='code', full_name='IndexKLineArray.IndexKLineData.code', index=0,
number=1, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nDate', full_name='IndexKLineArray.IndexKLineData.m_nDate', index=1,
number=2, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nTime', full_name='IndexKLineArray.IndexKLineData.m_nTime', index=2,
number=3, type=5, cpp_type=1, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nOpen', full_name='IndexKLineArray.IndexKLineData.m_nOpen', index=3,
number=4, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nHigh', full_name='IndexKLineArray.IndexKLineData.m_nHigh', index=4,
number=5, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nLow', full_name='IndexKLineArray.IndexKLineData.m_nLow', index=5,
number=6, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_nClose', full_name='IndexKLineArray.IndexKLineData.m_nClose', index=6,
number=7, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_iVolume', full_name='IndexKLineArray.IndexKLineData.m_iVolume', index=7,
number=8, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='m_iTurover', full_name='IndexKLineArray.IndexKLineData.m_iTurover', index=8,
number=9, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=100,
serialized_end=271,
)
_INDEXKLINEARRAY = _descriptor.Descriptor(
name='IndexKLineArray',
full_name='IndexKLineArray',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='dataArray', full_name='IndexKLineArray.dataArray', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[_INDEXKLINEARRAY_INDEXKLINEDATA, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=28,
serialized_end=271,
)
_INDEXKLINEARRAY_INDEXKLINEDATA.containing_type = _INDEXKLINEARRAY
_INDEXKLINEARRAY.fields_by_name['dataArray'].message_type = _INDEXKLINEARRAY_INDEXKLINEDATA
DESCRIPTOR.message_types_by_name['IndexKLineArray'] = _INDEXKLINEARRAY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
IndexKLineArray = _reflection.GeneratedProtocolMessageType('IndexKLineArray', (_message.Message,), {
'IndexKLineData' : _reflection.GeneratedProtocolMessageType('IndexKLineData', (_message.Message,), {
'DESCRIPTOR' : _INDEXKLINEARRAY_INDEXKLINEDATA,
'__module__' : 'IndexKLineMessage_pb2'
# @@protoc_insertion_point(class_scope:IndexKLineArray.IndexKLineData)
})
,
'DESCRIPTOR' : _INDEXKLINEARRAY,
'__module__' : 'IndexKLineMessage_pb2'
# @@protoc_insertion_point(class_scope:IndexKLineArray)
})
_sym_db.RegisterMessage(IndexKLineArray)
_sym_db.RegisterMessage(IndexKLineArray.IndexKLineData)
# @@protoc_insertion_point(module_scope)