|
@@ -806,12 +806,12 @@ export struct AuxiliaryOperationView {
|
|
|
.width('84.9%')
|
|
|
Column() {
|
|
|
Row() {
|
|
|
- Text('预设转速 ')
|
|
|
+ Text('旋转方向 ')
|
|
|
.fontColor($r('app.color.FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Lighter)
|
|
|
- Text(this.screwdriver.TighteRotationDirection ? this.solderingIron + '℃' : '-')
|
|
|
- .fontColor(this.solderingIron.SolderingSetTemp ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
+ Text(this.screwdriver.OnlineStatus != 1 ? '-' : (this.screwdriver.TighteRotationDirection! === 0 ? '顺时针' : '逆时针'))
|
|
|
+ .fontColor(this.screwdriver.OnlineStatus === 1 ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
}
|
|
@@ -821,19 +821,19 @@ export struct AuxiliaryOperationView {
|
|
|
.fontColor($r('app.color.FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Lighter)
|
|
|
- Text(this.solderingIron.SolderingSetTemp ? this.solderingIron + '℃' : '-')
|
|
|
- .fontColor(this.solderingIron.SolderingSetTemp ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
+ Text(this.screwdriver.OnlineStatus === 1 && this.screwdriver.TightenTorqueTarget ? this.screwdriver.TightenTorqueTarget + 'Kgf.cm' : '-')
|
|
|
+ .fontColor(this.screwdriver.OnlineStatus === 1 && this.screwdriver.TightenTorqueTarget ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
}
|
|
|
.width('100%')
|
|
|
Row() {
|
|
|
- Text('预设圈数 ')
|
|
|
+ Text('浮高界定圈数 ')
|
|
|
.fontColor($r('app.color.FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Lighter)
|
|
|
- Text(this.solderingIron.SolderingSetTemp ? this.solderingIron + '℃' : '-')
|
|
|
- .fontColor(this.solderingIron.SolderingSetTemp ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
+ Text(this.screwdriver.OnlineStatus === 1 && this.screwdriver.FloatDetectionTurns ? this.solderingIron + 'r' : '-')
|
|
|
+ .fontColor(this.screwdriver.OnlineStatus === 1 && this.screwdriver.FloatDetectionTurns ? $r('app.color.0A84FF') : $r('app.color.20FFFFFF'))
|
|
|
.fontSize($r('app.float.fontSize_16'))
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
}
|