diff --git a/src/Hc900Crawler/wwwroot/js/pb.js b/src/Hc900Crawler/wwwroot/js/pb.js index 3eba1e7..301b11f 100644 --- a/src/Hc900Crawler/wwwroot/js/pb.js +++ b/src/Hc900Crawler/wwwroot/js/pb.js @@ -301,8 +301,7 @@ function pbRenderPoints(res) { ${item.controllerId} ${statusLabel} - ${item.isActive ? '🟢' : '🔴'} - + `; }).join(''); @@ -325,14 +324,6 @@ function pbUpdateBulkBar() { bar.hidden = checked.length === 0; } -async function pbToggleOne(id, active) { - const res = await pbApi(`/api/hc900/tags/${id}/active`, 'PUT', active); - if (res) { - pbRefresh(); - pbLoadSummary(); - } -} - async function pbDeleteOne(id) { if (!confirm('이 태그를 비활성화하고 realtime_table에서 제거합니다. 계속하시겠습니까?')) return; const res = await pbApi(`/api/pointbuilder/${id}`, 'DELETE'); diff --git a/src/Hc900Crawler/wwwroot/panes/pb.html b/src/Hc900Crawler/wwwroot/panes/pb.html index b6db557..9dc9f22 100644 --- a/src/Hc900Crawler/wwwroot/panes/pb.html +++ b/src/Hc900Crawler/wwwroot/panes/pb.html @@ -313,8 +313,8 @@ 데이터 타입 Modbus 컨트롤러 - 등록/상태 - 관리 + 등록/상태 + 관리