blob: a82777414d5dca1b1f1f8714f340231c4fcb48d2 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 00 00 00 01 00 08 06 00 00 00 5c 72 a8 | .PNG........IHDR.............\r. |
| 0020 | 66 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 07 35 00 00 07 | f....sBIT....|.d.....pHYs...5... |
| 0040 | 35 01 dc 0b 6a 07 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 | 5...j.....tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 14 26 49 44 41 54 78 da ed dd 59 6c 54 d7 19 c0 f1 96 a8 | ape.org..<....&IDATx...YlT...... |
| 0080 | 52 d5 aa 0f 7d a9 aa 3e f4 a5 0f 69 1f 2a f5 a1 6f 95 2a b5 09 6b 02 04 f0 c6 be d9 c6 78 5f f1 | R...}..>...i.*..o.*..k.......x_. |
| 00a0 | 8a b1 09 60 9b 7d 0f 4b 30 38 69 58 42 80 04 08 6b d8 21 84 04 08 31 4b 88 31 c6 d8 8c c1 66 35 | ...`.}.K08iXB...k.!...1K.1....f5 |
| 00c0 | 09 9b 0d 7c 3d 77 92 58 1e 7b 3c f6 9d b9 33 3e 77 fc 1f e9 2f 55 95 86 60 73 be df dc 7b e7 cc | ...|=w.X.{<...3>w.../U..`s...{.. |
| 00e0 | 9d 5f 88 c8 2f ec 54 64 f6 ec 57 55 05 aa 9d aa 7a 95 10 75 63 f5 3f ad 45 63 4d be 6a b7 79 b2 | ._../.Td..WU....z..uc.?.Ecusing System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using Tango.BL;
using Tango.BL.Enumerations;
namespace Tango.MachineStudio.Developer.Converters
{
public class LiquidVolumesToLubricantLiquidVolume : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value != null)
{
IEnumerable<LiquidVolume> liquid_volumes = value as IEnumerable<LiquidVolume>;
return liquid_volumes.SingleOrDefault(x => x.IdsPack.IdsPackFormula.Code == IdsPackFormulas.Lubricant.ToInt32());
}
else
{
return null;
}
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
|