Sync control names a state, and the window hides the PLC and the read-only lock

Đang mở
#201 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend, desktop

Hướng nghiên cứu

Start with the main window’s status bar and sync control, then inspect SemiStep.UI/Styles/DataGridStyles.axaml:110 to trace how sync locks the grid. Implement the switch label, PLC endpoint and connection state, read-only status, and hidden dropdown arrows. Done means the operator can identify the sync state, PLC connection, and read-only lock from the window; the issue names no tests to run.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

The sync control in the status bar is a filled button labelled with a state: "Синхр. ВЫКЛ" / "Синхр. ВКЛ". The operator cannot tell whether a click turns sync on or off.

The window never shows which PLC it talks to. The title shows only the recipe name, and the status bar shows no endpoint and no connection state.

With sync on, the grid is locked by IsHitTestVisible=False on the combo boxes (SemiStep.UI/Styles/DataGridStyles.axaml:110). The dropdown arrows still show and ignore clicks, so an edit silently does nothing and the operator cannot see why.

Proposed change

  • Replace the button with a labelled switch "Синхронизация с ПЛК". The label names the function, and the switch position shows the state.
  • In the status bar, show the PLC endpoint and the connection state with a glyph, for example "ПЛК 192.168.0.150: подключено".
  • While the grid is locked, show "Только чтение" in the status bar and hide the dropdown arrows.

Source

Design review of the main window, 2026-11-19. The file references come from the review and are not yet verified against the code.

Ngôn ngữ chính
C#
Star
3
Fork
1
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Semiteq/SemiStep

Tất cả issue của Semiteq/SemiStep

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.