scf_eda.proto
authoryu.dongliang <18588496441@163.com>
Thu, 20 Jul 2023 03:24:01 +0000 (11:24 +0800)
committeryu.dongliang <18588496441@163.com>
Thu, 20 Jul 2023 03:24:01 +0000 (11:24 +0800)
scf_eda.pb-c.c
scf_eda.pb-c.h
scf_eda.proto

index cfd953a028135c8727f38fd33cbde3251caa057e..dcbce1ec72a8f5b1d6be8951008fdb1c7cbb85e6 100644 (file)
@@ -385,7 +385,7 @@ const ProtobufCMessageDescriptor scf_line__descriptor =
   (ProtobufCMessageInit) scf_line__init,
   NULL,NULL,NULL    /* reserved[123] */
 };
-static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] =
+static const ProtobufCFieldDescriptor scf_epin__field_descriptors[11] =
 {
   {
     "id",
@@ -460,9 +460,33 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] =
     0,NULL,NULL    /* reserved1,reserved2, etc */
   },
   {
-    "x",
+    "V",
     7,
     PROTOBUF_C_LABEL_REQUIRED,
+    PROTOBUF_C_TYPE_DOUBLE,
+    0,   /* quantifier_offset */
+    offsetof(ScfEpin, v),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "A",
+    8,
+    PROTOBUF_C_LABEL_REQUIRED,
+    PROTOBUF_C_TYPE_DOUBLE,
+    0,   /* quantifier_offset */
+    offsetof(ScfEpin, a),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "x",
+    9,
+    PROTOBUF_C_LABEL_REQUIRED,
     PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEpin, x),
@@ -473,7 +497,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] =
   },
   {
     "y",
-    8,
+    10,
     PROTOBUF_C_LABEL_REQUIRED,
     PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
@@ -485,7 +509,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] =
   },
   {
     "vflag",
-    9,
+    11,
     PROTOBUF_C_LABEL_REQUIRED,
     PROTOBUF_C_TYPE_BOOL,
     0,   /* quantifier_offset */
@@ -497,20 +521,22 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] =
   },
 };
 static const unsigned scf_epin__field_indices_by_name[] = {
+  7,   /* field[7] = A */
+  6,   /* field[6] = V */
   5,   /* field[5] = c_tos */
   1,   /* field[1] = cid */
   3,   /* field[3] = flags */
   0,   /* field[0] = id */
   2,   /* field[2] = lid */
   4,   /* field[4] = tos */
-  8,   /* field[8] = vflag */
-  6,   /* field[6] = x */
-  7,   /* field[7] = y */
+  10,   /* field[10] = vflag */
+  8,   /* field[8] = x */
+  9,   /* field[9] = y */
 };
 static const ProtobufCIntRange scf_epin__number_ranges[1 + 1] =
 {
   { 1, 0 },
-  { 0, 9 }
+  { 0, 11 }
 };
 const ProtobufCMessageDescriptor scf_epin__descriptor =
 {
@@ -520,7 +546,7 @@ const ProtobufCMessageDescriptor scf_epin__descriptor =
   "ScfEpin",
   "",
   sizeof(ScfEpin),
-  9,
+  11,
   scf_epin__field_descriptors,
   scf_epin__field_indices_by_name,
   1,  scf_epin__number_ranges,
index a994154c74e89af6e06019398f585976830222a4..76f38a849d789eea9ad99ae4e99165cb57e3bf42 100644 (file)
@@ -52,13 +52,15 @@ struct  _ScfEpin
   size_t n_tos;
   uint64_t *tos;
   uint64_t c_tos;
+  double v;
+  double a;
   int32_t x;
   int32_t y;
   protobuf_c_boolean vflag;
 };
 #define SCF_EPIN__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_epin__descriptor) \
-    , 0, 0, 0, 0, 0,NULL, 0, 0, 0, 0 }
+    , 0, 0, 0, 0, 0,NULL, 0, 0, 0, 0, 0, 0 }
 
 
 struct  _ScfEconn
index e7e645919aab2d6ed2d061d09c8582e005573848..26d7338000eb30865a4180995258ad172acfef38 100644 (file)
@@ -17,9 +17,12 @@ message scf_epin
        repeated uint64    tos   = 5;
        required uint64    c_tos = 6;
 
-       required int32     x     = 7;
-       required int32     y     = 8;
-       required bool      vflag = 9;
+       required double    V     = 7;
+       required double    A     = 8;
+
+       required int32     x     = 9;
+       required int32     y     = 10;
+       required bool      vflag = 11;
 }
 
 message scf_econn