package main

import (
	"cicv-data-closedloop/pji_msgs"
)

func Topic() string {
	return "/sys_info"
}

func Label() string {
	return "cpuoveroccupied"
}

func Rule(data *pji_msgs.SysInfo) string {
	if data.CpuOccupied > 99 {
		return "cpuoveroccupied"
	}
	return ""
}
