Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-proto-py
Commits
508b78ca
Commit
508b78ca
authored
Jul 28, 2021
by
Wei Shoulin
Browse files
get latest cal
parent
d041bb14
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/calmerge/calmerge_pb2.py
View file @
508b78ca
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.calmerge'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z&cnlab.net/csst/proto/facility/calmerge'
),
serialized_pb
=
_b
(
'
\n
facility/calmerge/calmerge.proto
\x12\x15\x64\x66
s.facility.calmerge
\x1a\x12\x63
ommon/error.proto
\"\x91\x02\n\x0e\x43\x61
lMergeRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x13\n\x0b\x64\x65
tector_no
\x18\x03
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x06
\x01
(
\x02\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\x11\n\t
file_path
\x18\x08
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\t
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\n
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0b
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0c
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\r
\x01
(
\t\x12\x12\n\n
level0_ids
\x18\x0e
\x03
(
\t\"\xbf\x02\n\x0f\x46
indCalMergeReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
;.dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x8d\x01\n\x10\x46
indCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x36\n\x07
records
\x18\x04
\x03
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
,
\n\x0e
GetCalMergeReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\"
H
\n\x0f
GetCalMergeResp
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
I
\n\x10
WriteCalMergeReq
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
y
\n\x11
WriteCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x35\n\x06
record
\x18\x03
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
@
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
A
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xf
9
\x0
3
\n\x0b\x43\x61
lMergeSrv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.calmerge.FindCalMergeReq
\x1a\'
.dfs.facility.calmerge.FindCalMergeResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.calmerge.GetCalMergeReq
\x1a
&.dfs.facility.calmerge.GetCalMergeResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.calmerge.WriteCalMergeReq
\x1a
(.dfs.facility.calmerge.WriteCalMergeResp
\"\x00\x12
j
\n\x0f
UpdateQc1Status
\x12
).dfs.facility.calmerge.UpdateQc1StatusReq
\x1a
*.dfs.facility.calmerge.UpdateQc1StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.facility.calmerge.UpdateProcStatusReq
\x1a
+.dfs.facility.calmerge.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/facility/calmergeb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n
facility/calmerge/calmerge.proto
\x12\x15\x64\x66
s.facility.calmerge
\x1a\x12\x63
ommon/error.proto
\"\x91\x02\n\x0e\x43\x61
lMergeRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x13\n\x0b\x64\x65
tector_no
\x18\x03
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x06
\x01
(
\x02\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\x11\n\t
file_path
\x18\x08
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\t
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\n
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0b
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0c
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\r
\x01
(
\t\x12\x12\n\n
level0_ids
\x18\x0e
\x03
(
\t\"\xbf\x02\n\x0f\x46
indCalMergeReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
;.dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x8d\x01\n\x10\x46
indCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x36\n\x07
records
\x18\x04
\x03
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
7
\n\x10
GetLatestByL0Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\"
J
\n\x11
GetLatestByL0Resp
\x12\x35\n\x06
record
\x18\x03
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
,
\n\x0e
GetCalMergeReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\"
H
\n\x0f
GetCalMergeResp
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
I
\n\x10
WriteCalMergeReq
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
y
\n\x11
WriteCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x35\n\x06
record
\x18\x03
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
@
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
A
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\x
d
f\x0
4
\n\x0b\x43\x61
lMergeSrv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.calmerge.FindCalMergeReq
\x1a\'
.dfs.facility.calmerge.FindCalMergeResp
\"\x00\
x12\x64\n\r
GetLatestByL0
\x12\'
.dfs.facility.calmerge.GetLatestByL0Req
\x1a
(.dfs.facility.calmerge.GetLatestByL0Resp
\"\x00\
x12
V
\n\x03
Get
\x12
%.dfs.facility.calmerge.GetCalMergeReq
\x1a
&.dfs.facility.calmerge.GetCalMergeResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.calmerge.WriteCalMergeReq
\x1a
(.dfs.facility.calmerge.WriteCalMergeResp
\"\x00\x12
j
\n\x0f
UpdateQc1Status
\x12
).dfs.facility.calmerge.UpdateQc1StatusReq
\x1a
*.dfs.facility.calmerge.UpdateQc1StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.facility.calmerge.UpdateProcStatusReq
\x1a
+.dfs.facility.calmerge.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/facility/calmergeb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -326,6 +326,75 @@ _FINDCALMERGERESP = _descriptor.Descriptor(
)
_GETLATESTBYL0REQ
=
_descriptor
.
Descriptor
(
name
=
'GetLatestByL0Req'
,
full_name
=
'dfs.facility.calmerge.GetLatestByL0Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.facility.calmerge.GetLatestByL0Req.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'ref_type'
,
full_name
=
'dfs.facility.calmerge.GetLatestByL0Req.ref_type'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
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
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
821
,
serialized_end
=
876
,
)
_GETLATESTBYL0RESP
=
_descriptor
.
Descriptor
(
name
=
'GetLatestByL0Resp'
,
full_name
=
'dfs.facility.calmerge.GetLatestByL0Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.facility.calmerge.GetLatestByL0Resp.record'
,
index
=
0
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
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
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
878
,
serialized_end
=
952
,
)
_GETCALMERGEREQ
=
_descriptor
.
Descriptor
(
name
=
'GetCalMergeReq'
,
full_name
=
'dfs.facility.calmerge.GetCalMergeReq'
,
...
...
@@ -359,8 +428,8 @@ _GETCALMERGEREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
821
,
serialized_end
=
865
,
serialized_start
=
954
,
serialized_end
=
998
,
)
...
...
@@ -390,8 +459,8 @@ _GETCALMERGERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
867
,
serialized_end
=
939
,
serialized_start
=
1000
,
serialized_end
=
1072
,
)
...
...
@@ -421,8 +490,8 @@ _WRITECALMERGEREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
941
,
serialized_end
=
1
0
14
,
serialized_start
=
1074
,
serialized_end
=
114
7
,
)
...
...
@@ -466,8 +535,8 @@ _WRITECALMERGERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
016
,
serialized_end
=
1
137
,
serialized_start
=
1
149
,
serialized_end
=
1
270
,
)
...
...
@@ -511,8 +580,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
139
,
serialized_end
=
1
203
,
serialized_start
=
1
272
,
serialized_end
=
1
336
,
)
...
...
@@ -549,8 +618,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
205
,
serialized_end
=
1
273
,
serialized_start
=
1
338
,
serialized_end
=
1
406
,
)
...
...
@@ -594,8 +663,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
275
,
serialized_end
=
1
340
,
serialized_start
=
1
408
,
serialized_end
=
1
473
,
)
...
...
@@ -632,14 +701,15 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
342
,
serialized_end
=
1
411
,
serialized_start
=
1
475
,
serialized_end
=
1
544
,
)
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDCALMERGEREQ
_FINDCALMERGEREQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
_FINDCALMERGERESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDCALMERGERESP
.
fields_by_name
[
'records'
].
message_type
=
_CALMERGERECORD
_GETLATESTBYL0RESP
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_GETCALMERGERESP
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_WRITECALMERGEREQ
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_WRITECALMERGERESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
...
...
@@ -649,6 +719,8 @@ _UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__p
DESCRIPTOR
.
message_types_by_name
[
'CalMergeRecord'
]
=
_CALMERGERECORD
DESCRIPTOR
.
message_types_by_name
[
'FindCalMergeReq'
]
=
_FINDCALMERGEREQ
DESCRIPTOR
.
message_types_by_name
[
'FindCalMergeResp'
]
=
_FINDCALMERGERESP
DESCRIPTOR
.
message_types_by_name
[
'GetLatestByL0Req'
]
=
_GETLATESTBYL0REQ
DESCRIPTOR
.
message_types_by_name
[
'GetLatestByL0Resp'
]
=
_GETLATESTBYL0RESP
DESCRIPTOR
.
message_types_by_name
[
'GetCalMergeReq'
]
=
_GETCALMERGEREQ
DESCRIPTOR
.
message_types_by_name
[
'GetCalMergeResp'
]
=
_GETCALMERGERESP
DESCRIPTOR
.
message_types_by_name
[
'WriteCalMergeReq'
]
=
_WRITECALMERGEREQ
...
...
@@ -688,6 +760,20 @@ FindCalMergeResp = _reflection.GeneratedProtocolMessageType('FindCalMergeResp',
})
_sym_db
.
RegisterMessage
(
FindCalMergeResp
)
GetLatestByL0Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLatestByL0Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLATESTBYL0REQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetLatestByL0Req)
})
_sym_db
.
RegisterMessage
(
GetLatestByL0Req
)
GetLatestByL0Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLatestByL0Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLATESTBYL0RESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetLatestByL0Resp)
})
_sym_db
.
RegisterMessage
(
GetLatestByL0Resp
)
GetCalMergeReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetCalMergeReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETCALMERGEREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
...
...
@@ -754,8 +840,8 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
414
,
serialized_end
=
1919
,
serialized_start
=
1
547
,
serialized_end
=
2154
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
@@ -766,10 +852,19 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
output_type
=
_FINDCALMERGERESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'GetLatestByL0'
,
full_name
=
'dfs.facility.calmerge.CalMergeSrv.GetLatestByL0'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLATESTBYL0REQ
,
output_type
=
_GETLATESTBYL0RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.facility.calmerge.CalMergeSrv.Get'
,
index
=
1
,
index
=
2
,
containing_service
=
None
,
input_type
=
_GETCALMERGEREQ
,
output_type
=
_GETCALMERGERESP
,
...
...
@@ -778,7 +873,7 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.facility.calmerge.CalMergeSrv.Write'
,
index
=
2
,
index
=
3
,
containing_service
=
None
,
input_type
=
_WRITECALMERGEREQ
,
output_type
=
_WRITECALMERGERESP
,
...
...
@@ -787,7 +882,7 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'dfs.facility.calmerge.CalMergeSrv.UpdateQc1Status'
,
index
=
3
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
...
...
@@ -796,7 +891,7 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.facility.calmerge.CalMergeSrv.UpdateProcStatus'
,
index
=
4
,
index
=
5
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
...
...
csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py
View file @
508b78ca
...
...
@@ -19,6 +19,11 @@ class CalMergeSrvStub(object):
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeResp
.
FromString
,
)
self
.
GetLatestByL0
=
channel
.
unary_unary
(
'/dfs.facility.calmerge.CalMergeSrv/GetLatestByL0'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetLatestByL0Req
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetLatestByL0Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.facility.calmerge.CalMergeSrv/Get'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeReq
.
SerializeToString
,
...
...
@@ -52,6 +57,13 @@ class CalMergeSrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
GetLatestByL0
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -88,6 +100,11 @@ def add_CalMergeSrvServicer_to_server(servicer, server):
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeResp
.
SerializeToString
,
),
'GetLatestByL0'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
GetLatestByL0
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetLatestByL0Req
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetLatestByL0Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeReq
.
FromString
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment