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.2 KiB
165 lines
6.2 KiB
2 years ago
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: OrderMessage.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='OrderMessage.proto',
|
||
|
package='',
|
||
|
syntax='proto2',
|
||
|
serialized_options=None,
|
||
|
serialized_pb=b'\n\x12OrderMessage.proto\"\xf8\x01\n\nOrderArray\x12(\n\tdataArray\x18\x01 \x03(\x0b\x32\x15.OrderArray.OrderData\x1a\xbf\x01\n\tOrderData\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\x10\n\x08m_nIndex\x18\x04 \x02(\x05\x12\x10\n\x08m_nOrder\x18\x05 \x02(\x05\x12\x15\n\rm_chOrderKind\x18\x06 \x02(\r\x12\x18\n\x10m_chFunctionCode\x18\x07 \x02(\r\x12\x15\n\rm_nTradePrice\x18\x08 \x02(\x01\x12\x16\n\x0em_nTradeVolume\x18\t \x02(\x05'
|
||
|
)
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
_ORDERARRAY_ORDERDATA = _descriptor.Descriptor(
|
||
|
name='OrderData',
|
||
|
full_name='OrderArray.OrderData',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='code', full_name='OrderArray.OrderData.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='OrderArray.OrderData.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='OrderArray.OrderData.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_nIndex', full_name='OrderArray.OrderData.m_nIndex', index=3,
|
||
|
number=4, 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_nOrder', full_name='OrderArray.OrderData.m_nOrder', index=4,
|
||
|
number=5, 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_chOrderKind', full_name='OrderArray.OrderData.m_chOrderKind', index=5,
|
||
|
number=6, type=13, cpp_type=3, 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_chFunctionCode', full_name='OrderArray.OrderData.m_chFunctionCode', index=6,
|
||
|
number=7, type=13, cpp_type=3, 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_nTradePrice', full_name='OrderArray.OrderData.m_nTradePrice', index=7,
|
||
|
number=8, 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_nTradeVolume', full_name='OrderArray.OrderData.m_nTradeVolume', index=8,
|
||
|
number=9, 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=271,
|
||
|
)
|
||
|
|
||
|
_ORDERARRAY = _descriptor.Descriptor(
|
||
|
name='OrderArray',
|
||
|
full_name='OrderArray',
|
||
|
filename=None,
|
||
|
file=DESCRIPTOR,
|
||
|
containing_type=None,
|
||
|
fields=[
|
||
|
_descriptor.FieldDescriptor(
|
||
|
name='dataArray', full_name='OrderArray.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=[_ORDERARRAY_ORDERDATA, ],
|
||
|
enum_types=[
|
||
|
],
|
||
|
serialized_options=None,
|
||
|
is_extendable=False,
|
||
|
syntax='proto2',
|
||
|
extension_ranges=[],
|
||
|
oneofs=[
|
||
|
],
|
||
|
serialized_start=23,
|
||
|
serialized_end=271,
|
||
|
)
|
||
|
|
||
|
_ORDERARRAY_ORDERDATA.containing_type = _ORDERARRAY
|
||
|
_ORDERARRAY.fields_by_name['dataArray'].message_type = _ORDERARRAY_ORDERDATA
|
||
|
DESCRIPTOR.message_types_by_name['OrderArray'] = _ORDERARRAY
|
||
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||
|
|
||
|
OrderArray = _reflection.GeneratedProtocolMessageType('OrderArray', (_message.Message,), {
|
||
|
|
||
|
'OrderData' : _reflection.GeneratedProtocolMessageType('OrderData', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _ORDERARRAY_ORDERDATA,
|
||
|
'__module__' : 'OrderMessage_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:OrderArray.OrderData)
|
||
|
})
|
||
|
,
|
||
|
'DESCRIPTOR' : _ORDERARRAY,
|
||
|
'__module__' : 'OrderMessage_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:OrderArray)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(OrderArray)
|
||
|
_sym_db.RegisterMessage(OrderArray.OrderData)
|
||
|
|
||
|
|
||
|
# @@protoc_insertion_point(module_scope)
|