scf_eda.proto
authoryu.dongliang <18588496441@163.com>
Tue, 5 Sep 2023 11:24:20 +0000 (19:24 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 5 Sep 2023 11:24:20 +0000 (19:24 +0800)
scf_eda.pb-c.c
scf_eda.pb-c.h
scf_eda.proto

index 156000f3ebf033842dc85a786fa55b6ca605cecb..8419d8cd3f0c6aa954a304101aaf5c8272c0e741 100644 (file)
@@ -747,7 +747,7 @@ const ProtobufCMessageDescriptor scf_econn__descriptor =
   (ProtobufCMessageInit) scf_econn__init,
   NULL,NULL,NULL    /* reserved[123] */
 };
-static const ProtobufCFieldDescriptor scf_eline__field_descriptors[12] =
+static const ProtobufCFieldDescriptor scf_eline__field_descriptors[14] =
 {
   {
     "id",
@@ -882,11 +882,35 @@ static const ProtobufCFieldDescriptor scf_eline__field_descriptors[12] =
     0,NULL,NULL    /* reserved1,reserved2, etc */
   },
   {
-    "vflag",
+    "vconst",
     12,
     PROTOBUF_C_LABEL_REQUIRED,
     PROTOBUF_C_TYPE_BOOL,
     0,   /* quantifier_offset */
+    offsetof(ScfEline, vconst),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "aconst",
+    13,
+    PROTOBUF_C_LABEL_REQUIRED,
+    PROTOBUF_C_TYPE_BOOL,
+    0,   /* quantifier_offset */
+    offsetof(ScfEline, aconst),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "vflag",
+    14,
+    PROTOBUF_C_LABEL_REQUIRED,
+    PROTOBUF_C_TYPE_BOOL,
+    0,   /* quantifier_offset */
     offsetof(ScfEline, vflag),
     NULL,
     NULL,
@@ -896,6 +920,7 @@ static const ProtobufCFieldDescriptor scf_eline__field_descriptors[12] =
 };
 static const unsigned scf_eline__field_indices_by_name[] = {
   9,   /* field[9] = a */
+  12,   /* field[12] = aconst */
   2,   /* field[2] = c_pins */
   5,   /* field[5] = conns */
   4,   /* field[4] = dfo */
@@ -906,12 +931,13 @@ static const unsigned scf_eline__field_indices_by_name[] = {
   6,   /* field[6] = lines */
   1,   /* field[1] = pins */
   7,   /* field[7] = v */
-  11,   /* field[11] = vflag */
+  11,   /* field[11] = vconst */
+  13,   /* field[13] = vflag */
 };
 static const ProtobufCIntRange scf_eline__number_ranges[1 + 1] =
 {
   { 1, 0 },
-  { 0, 12 }
+  { 0, 14 }
 };
 const ProtobufCMessageDescriptor scf_eline__descriptor =
 {
@@ -921,7 +947,7 @@ const ProtobufCMessageDescriptor scf_eline__descriptor =
   "ScfEline",
   "",
   sizeof(ScfEline),
-  12,
+  14,
   scf_eline__field_descriptors,
   scf_eline__field_indices_by_name,
   1,  scf_eline__number_ranges,
index 41b1b70d32e24af9ef47ab23730770a89a98b8b8..512bf7d1062590859d238467fbd5b42c0bda0763 100644 (file)
@@ -103,11 +103,13 @@ struct  _ScfEline
   double jv;
   double a;
   double ja;
+  protobuf_c_boolean vconst;
+  protobuf_c_boolean aconst;
   protobuf_c_boolean vflag;
 };
 #define SCF_ELINE__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_eline__descriptor) \
-    , 0, 0,NULL, 0, 0, 0, 0,NULL, 0,NULL, 0, 0, 0, 0, 0 }
+    , 0, 0,NULL, 0, 0, 0, 0,NULL, 0,NULL, 0, 0, 0, 0, 0, 0, 0 }
 
 
 struct  _ScfEcomponent
index f14d7be7461ff8450cf4b928c6006bc1243f1140..2a8aa984aa25abe5712269df2b82070a54b0c2a0 100644 (file)
@@ -60,8 +60,10 @@ message scf_eline
        required double    jv     = 9;
        required double    a      = 10;
        required double    ja     = 11;
+       required bool      vconst = 12;
+       required bool      aconst = 13;
 
-       required bool      vflag  = 12;
+       required bool      vflag  = 14;
 }
 
 message scf_ecomponent