using Godot; public partial class ProductionLineItem : Panel { private Label nameLabel; private Label productionLabel; private Label timeLabel; private Label powerLabel; private Label buildingLabel; private Label deviceLabel; private Button addButton; private Button removeButton; private ColorRect progressFill; private TextureRect iconTexture; private ProductionLineManager.ProductionLine productionLine; private string productionLineId; public override void _Ready() { // 获取UI组件引用 nameLabel = GetNode