Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KUTlime committed Oct 2, 2020
2 parents 7ff33e0 + 9335aef commit e680d62
Show file tree
Hide file tree
Showing 19 changed files with 567 additions and 1,051 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ Temperature is the intensive quantity. A mixture of two objects or substances wi

On the other hand, it makes sense to add/subtract the temperature and the temperature difference.

![equation](https://latex.codecogs.com/gif.latex?T_2&space;=&space;T_1&space;+&space;\Delta&space;T&space;\par&space;\Delta&space;T&space;=&space;T_2&space;-&space;T_1)
![equation](http://latex.codecogs.com/gif.latex?\dpi{100}&space;\forall&space;(\Delta&space;T&space;=&space;T_2&space;-&space;T_1):&space;T_2&space;=&space;T_1&space;+&space;\Delta&space;T&space;\Leftrightarrow&space;T_1&space;=&space;T_2&space;-&space;\Delta&space;T)

If you add two temperatures, the second temperature unit is interpreted as ΔT and it is added to the first temperature. If the second temperature is negative, the magnitude of the second temperature is subtracted from the first temperature.

![equation](https://latex.codecogs.com/gif.latex?\forall&space;\left&space;(\Delta&space;T&space;>&space;T_{Ref_{lower}}):&space;T_2&space;=&space;T_1&space;&plus;&space;\Delta&space;T&space;\Rightarrow&space;T_2&space;>&space;T_1&space;\par&space;\forall&space;\left&space;(\Delta&space;T&space;<&space;T_{Ref_{lower}}):&space;T_2&space;=&space;T_1&space;&plus;&space;\Delta&space;T&space;\Rightarrow&space;T_2&space;<&space;T_1)
![equation](http://latex.codecogs.com/gif.latex?\dpi{100}&space;\newline&space;\forall&space;(\Delta&space;T&space;>&space;T_{Ref_{lower}}):&space;T_2&space;=&space;T_1&space;&plus;&space;\Delta&space;T&space;\Rightarrow&space;T_2&space;>&space;T_1&space;\newline&space;\forall&space;(\Delta&space;T&space;<&space;T_{Ref_{lower}}):&space;T_2&space;=&space;T_1&space;&plus;&space;\Delta&space;T&space;\Rightarrow&space;T_2&space;<&space;T_1&space;&space;)

If you subtract two temperatures, you will receive the temperature difference in the corresponding unit.

Expand Down
14 changes: 7 additions & 7 deletions Ultimate Temperature Library.sln
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.645
# Visual Studio Version 16
VisualStudioVersion = 16.0.30204.135
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UltimateTemperatureLibrary", "UltimateTemperatureLibrary\UltimateTemperatureLibrary.csproj", "{8D03FB4E-3E0C-4107-AA8D-FC5E0514ADE9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UltimateTemperatureLibrary.UnitTests", "UltimateTemperatureLibrary.UnitTests\UltimateTemperatureLibrary.UnitTests.csproj", "{CA18515F-ED14-41F8-B23E-DD1F285AE5A4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UltimateTemperatureLibrary.WPF", "UltimateTemperatureLibrary.WPF\UltimateTemperatureLibrary.WPF.csproj", "{1C7A12D7-76BA-4F17-BAAE-20F04645A35F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UltimateTemperatureLibrary.WPF", "UltimateTemperatureLibrary.WPF\UltimateTemperatureLibrary.WPF.csproj", "{F3BBA712-8CA8-474D-8ACD-243D990BBDCC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -23,10 +23,10 @@ Global
{CA18515F-ED14-41F8-B23E-DD1F285AE5A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA18515F-ED14-41F8-B23E-DD1F285AE5A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA18515F-ED14-41F8-B23E-DD1F285AE5A4}.Release|Any CPU.Build.0 = Release|Any CPU
{1C7A12D7-76BA-4F17-BAAE-20F04645A35F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C7A12D7-76BA-4F17-BAAE-20F04645A35F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C7A12D7-76BA-4F17-BAAE-20F04645A35F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C7A12D7-76BA-4F17-BAAE-20F04645A35F}.Release|Any CPU.Build.0 = Release|Any CPU
{F3BBA712-8CA8-474D-8ACD-243D990BBDCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F3BBA712-8CA8-474D-8ACD-243D990BBDCC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F3BBA712-8CA8-474D-8ACD-243D990BBDCC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F3BBA712-8CA8-474D-8ACD-243D990BBDCC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
14 changes: 0 additions & 14 deletions UltimateTemperatureLibrary.WPF/App.config

This file was deleted.

16 changes: 8 additions & 8 deletions UltimateTemperatureLibrary.WPF/App.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Application x:Class="UltimateTemperatureConverter.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:UltimateTemperatureConverter"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
<Application
x:Class="UltimateTemperatureLibrary.WPF.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:UltimateTemperatureLibrary.WPF"
StartupUri="MainWindow.xaml"
>
<Application.Resources />
</Application>
20 changes: 13 additions & 7 deletions UltimateTemperatureLibrary.WPF/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
using System.Windows;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace UltimateTemperatureLibrary.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
10 changes: 10 additions & 0 deletions UltimateTemperatureLibrary.WPF/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Windows;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
25 changes: 0 additions & 25 deletions UltimateTemperatureLibrary.WPF/Extensions/TextBoxExtensions.cs

This file was deleted.

0 comments on commit e680d62

Please sign in to comment.