export type WorkplaceTotal = {
	project: number
	access: number
	todo: number
}

export type Project = {
  name: string
  icon: string
  message: string
  personal: string
  time: Date | number | string
}

export type Notice = {
  title: string
  type: string
  keys: string[]
  date: Date | number | string
}

export type Shortcut = {
  name: string
  icon: string
  url: string
}

export type RadarData = {
  personal: number
  team: number
  max: number
  name: string
}
export type AnalysisTotalTypes = {
  users: number
  messages: number
  moneys: number
  shoppings: number
}

export type UserAccessSource = {
  value: number
  name: string
}

export type WeeklyUserActivity = {
  value: number
  name: string
}

export type MonthlySales = {
  name: string
  estimate: number
  actual: number
}

export type ProductionOverview = {
	orderCount: number
	runningOrderCount: number
	startedOrderCount: number
	shutdownOrderCount: number
	plannedOutput: number
	completedOutput: number
	qualifiedRate: number
	alarmRate: number
	onTimeRate: number
}

export type ProductionProgressItem = {
	id: string
	code: string
	productName: string
	planNumber: number
	feedingPipelineName: string
	planStartTime: Date
	planEndTime: Date
	wangongNumber: number
	passNumber: number
	noPassNumber: number
	passRate: number
	endTime: Date
	status: number 
}

export type DeviceStatusSummary = {
	inactive: number
	active: number
	total: number
}

export type AlarmStatusSummary = {
	serious: number
	assignedToMe: number
	total: number
}

export type DeviceOverview = {
	deviceTotal: number
	needRepair: number
	running: number
	stop: number
	utilization: number
	alarmRate: number
}

export type TodoTask = {
	id: string
	name: string
	code: string
	type: string
	deviceName: string
	createTime: Date
}

export type DeviceOperationStatus = {
	totalDevices: number
	runningCount: number
	standbyCount: number
	faultCount: number
	warningCount: number
	utilizationRate: number
	faultRate: number
}

