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.

172 lines
6.5 KiB

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: KLineMessage.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='KLineMessage.proto',
package='',
syntax='proto2',
serialized_options=None,
serialized_pb=b'\n\x12KLineMessage.proto\"\xf6\x01\n\nKLineArray\x12(\n\tdataArray\x18\x01 \x03(\x0b\x32\x15.KLineArray.KLineData\x1a\xbd\x01\n\tKLineData\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\x12\x15\n\rm_nMatchItems\x18\n \x02(\x05'
)
_KLINEARRAY_KLINEDATA = _descriptor.Descriptor(
name='KLineData',
full_name='KLineArray.KLineData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='code', full_name='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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='KLineArray.KLineData.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),
_descriptor.FieldDescriptor(
name='m_nMatchItems', full_name='KLineArray.KLineData.m_nMatchItems', index=9,
number=10, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=80,
serialized_end=269,
)
_KLINEARRAY = _descriptor.Descriptor(
name='KLineArray',
full_name='KLineArray',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='dataArray', full_name='KLineArray.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=[_KLINEARRAY_KLINEDATA, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=23,
serialized_end=269,
)
_KLINEARRAY_KLINEDATA.containing_type = _KLINEARRAY
_KLINEARRAY.fields_by_name['dataArray'].message_type = _KLINEARRAY_KLINEDATA
DESCRIPTOR.message_types_by_name['KLineArray'] = _KLINEARRAY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
KLineArray = _reflection.GeneratedProtocolMessageType('KLineArray', (_message.Message,), {
'KLineData' : _reflection.GeneratedProtocolMessageType('KLineData', (_message.Message,), {
'DESCRIPTOR' : _KLINEARRAY_KLINEDATA,
'__module__' : 'KLineMessage_pb2'
# @@protoc_insertion_point(class_scope:KLineArray.KLineData)
})
,
'DESCRIPTOR' : _KLINEARRAY,
'__module__' : 'KLineMessage_pb2'
# @@protoc_insertion_point(class_scope:KLineArray)
})
_sym_db.RegisterMessage(KLineArray)
_sym_db.RegisterMessage(KLineArray.KLineData)
# @@protoc_insertion_point(module_scope)