From 6f0e174f073b5254d1d7388f529d6a3c51adbd78 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 3 Nov 2023 16:27:50 +0800 Subject: [PATCH] scf_ecomponent --- scf_eda.pb-c.c | 6 +++--- scf_eda.pb-c.h | 2 +- scf_eda.proto | 2 +- ses_layout.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scf_eda.pb-c.c b/scf_eda.pb-c.c index 84e07a4..c9d6dd9 100644 --- a/scf_eda.pb-c.c +++ b/scf_eda.pb-c.c @@ -1205,12 +1205,12 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dfo", + "color", 13, PROTOBUF_C_LABEL_REQUIRED, PROTOBUF_C_TYPE_INT64, 0, /* quantifier_offset */ - offsetof(ScfEcomponent, dfo), + offsetof(ScfEcomponent, color), NULL, NULL, 0, /* flags */ @@ -1291,7 +1291,7 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = }; static const unsigned scf_ecomponent__field_indices_by_name[] = { 6, /* field[6] = a */ - 12, /* field[12] = dfo */ + 12, /* field[12] = color */ 17, /* field[17] = h */ 0, /* field[0] = id */ 7, /* field[7] = ja */ diff --git a/scf_eda.pb-c.h b/scf_eda.pb-c.h index 4243879..811ad70 100644 --- a/scf_eda.pb-c.h +++ b/scf_eda.pb-c.h @@ -136,7 +136,7 @@ struct _ScfEcomponent double jr; double uf; double uh; - int64_t dfo; + int64_t color; int32_t status; int32_t x; int32_t y; diff --git a/scf_eda.proto b/scf_eda.proto index b0820f1..e1fc98e 100644 --- a/scf_eda.proto +++ b/scf_eda.proto @@ -96,7 +96,7 @@ message scf_ecomponent required double uF = 11; required double uH = 12; - required int64 dfo = 13; + required int64 color = 13; required int32 status = 14; required int32 x = 15; diff --git a/ses_layout.c b/ses_layout.c index 5d26ede..020eaf6 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1659,7 +1659,7 @@ int ses_layout_board(ScfEboard* b) return ret; } - ses_steps_analyse(f, 5, 1); +// ses_steps_analyse(f, 5, 1); x = f->x; y = f->y; -- 2.25.1