File tree 2 files changed +4
-4
lines changed
lib/Hoymiles/src/commands
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
typedef enum { // ToDo: to be verified by field tests
7
7
AbsolutNonPersistent = 0x0000 , // 0
8
- RelativNonPersistent = 0x0001 , // 1
8
+ RelativNonPersistent = 0x0003 , // 3 TODO(andreasboehm): not sure why this is now 3 instead of 1. Probably only works for inverters that support PDL
9
9
AbsolutPersistent = 0x0100 , // 256
10
10
RelativPersistent = 0x0101 // 257
11
11
} PowerLimitControlType;
Original file line number Diff line number Diff line change 448
448
</button >
449
449
<ul class =" dropdown-menu dropdown-menu-end" >
450
450
<li >
451
- <a class =" dropdown-item" @click =" onSelectType(1 )" href =" #" >{{ $t('home.Relative') }}</a >
451
+ <a class =" dropdown-item" @click =" onSelectType(3 )" href =" #" >{{ $t('home.Relative') }}</a >
452
452
</li >
453
453
<li >
454
454
<a class =" dropdown-item" @click =" onSelectType(0)" href =" #" >{{ $t('home.Absolute') }}</a >
@@ -862,7 +862,7 @@ export default defineComponent({
862
862
this .showAlertLimit = false ;
863
863
this .targetLimitList .serial = ' ' ;
864
864
this .targetLimitList .limit_value = 0 ;
865
- this .targetLimitType = 1 ;
865
+ this .targetLimitType = 3 ;
866
866
this .targetLimitTypeText = this .$t (' home.Relative' );
867
867
868
868
this .limitSettingLoading = true ;
@@ -908,7 +908,7 @@ export default defineComponent({
908
908
});
909
909
},
910
910
onSelectType(type : number ) {
911
- if (type == 1 ) {
911
+ if (type == 3 ) {
912
912
this .targetLimitTypeText = this .$t (' home.Relative' );
913
913
this .targetLimitMin = 0 ;
914
914
this .targetLimitMax = 100 ;
You can’t perform that action at this time.
0 commit comments