Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Windows;
  5. using System.Windows.Controls;
  6. using System.Windows.Data;
  7. using System.Windows.Documents;
  8. using System.Windows.Input;
  9. using System.Windows.Media;
  10. using System.Windows.Media.Imaging;
  11. using System.Windows.Shapes;
  12.  
  13. namespace temperatur
  14. {
  15.     public class DagTemperatur
  16.     {
  17.         decimal max, min;
  18.         int dag;
  19.        
  20.         public DagTemperatur(int dag, decimal max, decimal min)
  21.         {
  22.             this.max = max;
  23.             this.min = min;
  24.             this.dag = dag;
  25.         }
  26.        
  27.         public decimal getMax()
  28.         {
  29.             return max;
  30.         }
  31.        
  32.         public decimal getMin()
  33.         {
  34.             return min;
  35.         }
  36.        
  37.         public int getDag()
  38.         {
  39.             return dag;
  40.         }
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement