|
@@ -26,10 +26,7 @@ const enum MonitorPointStatus {
|
|
|
|
|
|
const isPointNormal = (point: MonitoringPointData) => {
|
|
const isPointNormal = (point: MonitoringPointData) => {
|
|
const { status } = point;
|
|
const { status } = point;
|
|
- return (
|
|
|
|
- status !== MonitorPointStatus.Warning &&
|
|
|
|
- status !== MonitorPointStatus.Exceed
|
|
|
|
- );
|
|
|
|
|
|
+ return status !== MonitorPointStatus.Exceed;
|
|
};
|
|
};
|
|
|
|
|
|
export interface MonitorPointPen extends Pen {
|
|
export interface MonitorPointPen extends Pen {
|