aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Images/sewing-machine.png
blob: 3d2864fc3025b021ef23a5469e748a263d5fddb1 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 40 08 04 00 00 00 00 60 b9 .PNG........IHDR...@...@......`.
0020 55 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 00 20 63 48 52 4d 00 00 7a 26 00 00 80 U....gAMA......a.....cHRM..z&...
0040 84 00 00 fa 00 00 00 80 e8 00 00 75 30 00 00 ea 60 00 00 3a 98 00 00 17 70 9c ba 51 3c 00 00 00 ...........u0...`..:....p..Q<...
0060 02 62 4b 47 44 00 00 aa 8d 23 32 00 00 00 09 70 48 59 73 00 00 0d d7 0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;

namespace Tango.MachineStudio.Common.Converters
{
    /// <summary>
    /// Converts number of seconds to graph FIFO capacity.
    /// </summary>
    /// <seealso cref="System.Windows.Data.IValueConverter" />
    public class SecondsToGraphPointsConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            double arrLength = double.Parse(parameter.ToString());
            return Helpers.GraphsHelper.GetMaxPoints(arrLength);
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            return value;
        }
    }
}
tware.www.inksc 0660 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 00 00 49 45 4e 44 ae 42 60 82 ape.org..<.....IEND.B`.