# Author : geovindu,Geovin Du 涂聚文. # IDE : DevEco Studio 5.1.1 HarmonyOS ArKTS # os : windows 10 # database : mysql 9.0 sql server 2019, postgreSQL 17.0 Oracle 21c Neo4j # Datetime : 2025/8/7 22:50 # User : geovindu # Product : DevEco Studio # Project : sqliteHelper # File : ControlDec.ets */ import { StatDec } from "./StatDec" import { HeatStat,WeightStat,BoodStat } from "./index"interface HeatStatInfo {Heater:HeatStat }interface WeightStatInfo {Weight:WeightStat }interface BoodStatInfo {Bood:BoodStat }/*** 控制信息 extends 只能一个*/ export class ControlStat implements HeatStatInfo,WeightStatInfo,BoodStatInfo {heater:HeatStat = new HeatStat()weight:WeightStat = new WeightStat()bood:BoodStat = new BoodStat()constructor(){}/*** 获取控制内容* @param Value* @param style*/get Heater():HeatStat{return this.heater}/*** 获取控制内容* @param Value* @param style*/set Heater(value:HeatStat){this.heater = value}/*** 获取控制内容* @param Value* @param style*/get Weight():WeightStat{return this.weight}/*** 获取控制内容* @param Value* @param style*/set Weight(value:WeightStat){this.weight = value}/*** 获取控制内容* @param Value* @param style*/get Bood():BoodStat{return this.bood}/*** 获取控制内容* @param Value* @param style*/set Bood(value:BoodStat){this.bood = value}}