| | |
| | | } |
| | | /** |
| | | * 更新体重秤结果 |
| | | * @param info 体重结果 |
| | | * @param infoObj 体重结果 |
| | | */ |
| | | function setweightSockte(info:weightInfo){ |
| | | console.log(info,'入参') |
| | | weightSockte.value.deviceName=info.deviceName |
| | | weightSockte.value.result=info.result |
| | | weightSockte.value.resultTime=info.resultTime |
| | | weightSockte.value.state=info.state |
| | | function setweightSockte(infoObj:info){ |
| | | console.log(infoObj,'入参') |
| | | weightSockte.value.deviceName=infoObj.deviceName |
| | | weightSockte.value.result=infoObj.result |
| | | weightSockte.value.resultTime=infoObj.resultTime |
| | | weightSockte.value.state=infoObj.state |
| | | console.log('体重秤更新') |
| | | } |
| | | /** |