Skip to content

Commit

Permalink
Add blocked protective stop
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Jan 15, 2025
1 parent cbc6e6e commit 9986b5e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/api/Database/Models/Robot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public enum RobotStatus
Busy,
Offline,
Blocked,
BlockedProtectiveStop,
}

public enum RobotFlotillaStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export const RobotStatusChip = ({ status, flotillaStatus, isarConnected, itemSiz
iconColor = tokens.colors.interactive.danger__resting.hex
break
}
case RobotStatus.BlockedProtectiveStop: {
statusIcon = Icons.Blocked
iconColor = tokens.colors.interactive.danger__resting.hex
break
}
default: {
iconColor = tokens.colors.text.static_icons__default.hex
statusIcon = Icons.CloudOff
Expand Down
1 change: 1 addition & 0 deletions frontend/src/models/Robot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export enum RobotStatus {
Busy = 'Busy',
Offline = 'Offline',
Blocked = 'Blocked',
BlockedProtectiveStop = 'BlockedProtectiveStop',
Docked = 'Docked',
Recharging = 'Recharging',
ConnectionIssues = 'Connection Issues',
Expand Down

0 comments on commit 9986b5e

Please sign in to comment.