shao 1 week ago
parent
commit
a588390cdc
3 changed files with 5 additions and 31 deletions
  1. 4 0
      .gitmodules
  2. 1 0
      rpc_idl
  3. 0 31
      rpc_idl/dr_dcmtk_idl.proto

+ 4 - 0
.gitmodules

@@ -0,0 +1,4 @@
+[submodule "rpc_idl"]
+	path = rpc_idl
+	url = http://code.pacsonline.cn/DR/rpc_idl.git
+	branch = v1

+ 1 - 0
rpc_idl

@@ -0,0 +1 @@
+Subproject commit 41e78dbf6c013fa7c6d92119c4ced7b1fd6ca535

+ 0 - 31
rpc_idl/dr_dcmtk_idl.proto

@@ -1,31 +0,0 @@
-syntax = "proto3";
-
-option go_package = "dr_dcmtk_pb/";
-
-package dr.dcmtk;
-
-message EmptyRequest {}
-
-service Basic {
-  rpc SoftwareInfo (EmptyRequest) returns (SoftwareInfoReply) {}
-}
-
-message SoftwareInfoReply {
-  string module     = 1;
-  string desc       = 2;
-  string build      = 3;
-  string version    = 4;
-}
-
-service Dcm {
-  rpc GenerateUniqueIdentifier(UidRootRequest) returns (UidReply) {}
-}
-
-message UidRootRequest {
-  string uid_root = 1;
-  int32  number   = 2;
-}
-
-message UidReply {
-  repeated string instance_uid = 1;
-}