From: yu.dongliang <18588496441@163.com> Date: Sun, 12 Nov 2023 10:19:28 +0000 (+0800) Subject: scf_eda.proto X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=4336f83ea8cf1c08e315f4df7b3a99a35e69eaef;p=ses.git scf_eda.proto --- diff --git a/scf_eda.pb-c.c b/scf_eda.pb-c.c index b332029..8a55620 100644 --- a/scf_eda.pb-c.c +++ b/scf_eda.pb-c.c @@ -1058,7 +1058,7 @@ const ProtobufCMessageDescriptor scf_eline__descriptor = (ProtobufCMessageInit) scf_eline__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = +static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[20] = { { "id", @@ -1288,6 +1288,18 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "lock", + 20, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(ScfEcomponent, lock), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned scf_ecomponent__field_indices_by_name[] = { 6, /* field[6] = a */ @@ -1297,6 +1309,7 @@ static const unsigned scf_ecomponent__field_indices_by_name[] = { 7, /* field[7] = ja */ 9, /* field[9] = jr */ 5, /* field[5] = jv */ + 19, /* field[19] = lock */ 2, /* field[2] = model */ 3, /* field[3] = pins */ 8, /* field[8] = r */ @@ -1313,7 +1326,7 @@ static const unsigned scf_ecomponent__field_indices_by_name[] = { static const ProtobufCIntRange scf_ecomponent__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 19 } + { 0, 20 } }; const ProtobufCMessageDescriptor scf_ecomponent__descriptor = { @@ -1323,7 +1336,7 @@ const ProtobufCMessageDescriptor scf_ecomponent__descriptor = "ScfEcomponent", "", sizeof(ScfEcomponent), - 19, + 20, scf_ecomponent__field_descriptors, scf_ecomponent__field_indices_by_name, 1, scf_ecomponent__number_ranges, diff --git a/scf_eda.pb-c.h b/scf_eda.pb-c.h index cb3e9fc..750c4cc 100644 --- a/scf_eda.pb-c.h +++ b/scf_eda.pb-c.h @@ -143,10 +143,11 @@ struct _ScfEcomponent int32_t w; int32_t h; protobuf_c_boolean vflag; + protobuf_c_boolean lock; }; #define SCF_ECOMPONENT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&scf_ecomponent__descriptor) \ - , 0, 0, 0, 0,NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0,NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct _ScfEfunction diff --git a/scf_eda.proto b/scf_eda.proto index d30232d..9e1174a 100644 --- a/scf_eda.proto +++ b/scf_eda.proto @@ -105,6 +105,7 @@ message scf_ecomponent required int32 h = 18; required bool vflag = 19; + required bool lock = 20; } message scf_efunction