Калибровка датчика тока. Корректно замеряем напряжение на аккуме.
This commit is contained in:
+19
-13
@@ -36,21 +36,26 @@
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition Height="30"/>
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0" Grid.Column="0" FontSize="20" Text="I_acc"/>
|
||||
<TextBlock Grid.Row="0" Grid.Column="1" FontSize="20" Text="{Binding Path=IAcc,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" FontSize="20" Text="U2"/>
|
||||
<TextBlock Grid.Row="1" Grid.Column="1" FontSize="20" Text="{Binding Path=U2,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="2" Grid.Column="0" FontSize="20" Text="U3"/>
|
||||
<TextBlock Grid.Row="2" Grid.Column="1" FontSize="20" Text="{Binding Path=U3,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="3" Grid.Column="0" FontSize="20" Text="U4"/>
|
||||
<TextBlock Grid.Row="3" Grid.Column="1" FontSize="20" Text="{Binding Path=U4,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="4" Grid.Column="0" FontSize="20" Text="U5"/>
|
||||
<TextBlock Grid.Row="4" Grid.Column="1" FontSize="20" Text="{Binding Path=U5,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="5" Grid.Column="0" FontSize="20" Text="CHARGE"/>
|
||||
<Ellipse Grid.Row="5" Grid.Column="1" Width="20" Height="20" Fill="{Binding Path=ChargeStatus,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBlock Grid.Row="6" Grid.Column="0" FontSize="20" Text="LAMP"/>
|
||||
<Ellipse Grid.Row="6" Grid.Column="1" Width="20" Height="20" Fill="{Binding Path=LampStatus,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBlock Grid.Row="0" Grid.Column="1" FontSize="20" Text="{Binding Path=IReal,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" FontSize="20" Text="U_acc"/>
|
||||
<TextBlock Grid.Row="1" Grid.Column="1" FontSize="20" Text="{Binding Path=UAcc,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="2" Grid.Column="0" FontSize="20" Text="I_raw"/>
|
||||
<TextBlock Grid.Row="2" Grid.Column="1" FontSize="20" Text="{Binding Path=IRaw,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="3" Grid.Column="0" FontSize="20" Text="U2"/>
|
||||
<TextBlock Grid.Row="3" Grid.Column="1" FontSize="20" Text="{Binding Path=U2,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="4" Grid.Column="0" FontSize="20" Text="U3"/>
|
||||
<TextBlock Grid.Row="4" Grid.Column="1" FontSize="20" Text="{Binding Path=U3,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="5" Grid.Column="0" FontSize="20" Text="U4"/>
|
||||
<TextBlock Grid.Row="5" Grid.Column="1" FontSize="20" Text="{Binding Path=U4,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="6" Grid.Column="0" FontSize="20" Text="U5"/>
|
||||
<TextBlock Grid.Row="6" Grid.Column="1" FontSize="20" Text="{Binding Path=U5,Mode=OneWay,StringFormat=F4}" />
|
||||
<TextBlock Grid.Row="7" Grid.Column="0" FontSize="20" Text="CHARGE"/>
|
||||
<Ellipse Grid.Row="7" Grid.Column="1" Width="20" Height="20" Fill="{Binding Path=ChargeStatus,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBlock Grid.Row="8" Grid.Column="0" FontSize="20" Text="LAMP"/>
|
||||
<Ellipse Grid.Row="8" Grid.Column="1" Width="20" Height="20" Fill="{Binding Path=LampStatus,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
<StackPanel Grid.Row="1" Grid.Column="1">
|
||||
<TextBlock FontSize="24" Text="MANUAL"/>
|
||||
@@ -61,6 +66,7 @@
|
||||
<TextBlock FontSize="24" Text="AUTO"/>
|
||||
<Button Content="Discharge" Height="40" Click="DischargeButton_Click"/>
|
||||
<Button Content="Сharge" Height="40" Click="ChargeButton_Click"/>
|
||||
<Button Content="Calibrate I" Height="40" Click="CalibrateButton_Click"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Grid.Column="3">
|
||||
<TextBlock FontSize="24" Text="TRAIN"/>
|
||||
|
||||
Reference in New Issue
Block a user