diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 15:43:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 15:43:55 +0200 |
commit | 97ed733b985dc7222eb75f4f890d181f86db47ae (patch) | |
tree | 848ffcf3f83b33aa608a9d3d574995a481fd9390 /lib/Kratos/DFADriver.pm | |
parent | 5287ecee23016be0b7828ea272b645fd8ea55d82 (diff) |
save voltage(s) in model files
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r-- | lib/Kratos/DFADriver.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm index 321860d..83a572f 100644 --- a/lib/Kratos/DFADriver.pm +++ b/lib/Kratos/DFADriver.pm @@ -644,6 +644,8 @@ sub update_model { } } + $self->model->set_voltage($self->{log}{aggregate}{min_voltage}, $self->{log}{aggregate}{max_voltage}); + $self->model->save; } |