automotive-ecu 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ecu/interfaces/dcm/festwerteblock.rb +2 -2
- data/lib/ecu/interfaces/dcm/kennfeld.rb +4 -4
- data/lib/ecu/interfaces/dcm/kennlinie.rb +4 -4
- data/lib/ecu/interfaces/dcm/property_parser.rb +5 -3
- data/lib/ecu/interfaces/dcm/stuetzstellenverteilung.rb +2 -2
- data/lib/ecu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9258d168cddd58d8fe69e82099c079bab80e8c7568f7e6d6e94c64f86f96388
|
4
|
+
data.tar.gz: 984ff33b0ff2973a4d0e687241447eef1b263b2c4129d2f14d5daed44be56c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6418a2fadf25cda97567eaa0fc38a16b81c6fd841b33c0e1f5e85681f0ca38044f8524967b044ea53d6f4e4387af082529c7dbdbbc8ea2cc90c2d4b1fffc83e7
|
7
|
+
data.tar.gz: cf113d96b84b68c92acc3ae0d6485565da0db3491648a20448a7c286925d6d891e086d96bf97badd111d3115bc873bf0d07458ed37e70d1b9372f8f8c434803b
|
@@ -17,8 +17,8 @@ class Ecu
|
|
17
17
|
str << " EINHEIT_W #{unit.enquote}\n" if unit
|
18
18
|
value.each do |row|
|
19
19
|
str << case row.first
|
20
|
-
when Numeric then " WERT #{row.join("
|
21
|
-
when String then " TEXT #{row.map(&:enquote).join("
|
20
|
+
when Numeric then " WERT #{row.join(" ")}\n"
|
21
|
+
when String then " TEXT #{row.map(&:enquote).join(" ")}\n"
|
22
22
|
end
|
23
23
|
end
|
24
24
|
str << "END\n"
|
@@ -14,8 +14,8 @@ class Ecu
|
|
14
14
|
str << " EINHEIT_Y #{yunit.enquote}\n" if yunit
|
15
15
|
str << " EINHEIT_W #{unit.enquote}\n" if unit
|
16
16
|
str << case xvalue.first
|
17
|
-
when Numeric then " ST/X #{xvalue.join("
|
18
|
-
when String then " ST_TX/X #{xvalue.map(&:enquote).join("
|
17
|
+
when Numeric then " ST/X #{xvalue.join(" ")}\n"
|
18
|
+
when String then " ST_TX/X #{xvalue.map(&:enquote).join(" ")}\n"
|
19
19
|
end
|
20
20
|
yvalue.each_with_index do |entry, idx|
|
21
21
|
str << case entry
|
@@ -23,8 +23,8 @@ class Ecu
|
|
23
23
|
when String then " ST_TX/Y #{entry.enquote}\n"
|
24
24
|
end
|
25
25
|
str << case value[idx].first
|
26
|
-
when Numeric then " WERT #{value[idx].join("
|
27
|
-
when String then " TEXT #{value[idx].map(&:enquote).join("
|
26
|
+
when Numeric then " WERT #{value[idx].join(" ")}\n"
|
27
|
+
when String then " TEXT #{value[idx].map(&:enquote).join(" ")}\n"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
str << "END\n"
|
@@ -13,12 +13,12 @@ class Ecu
|
|
13
13
|
str << " EINHEIT_X #{xunit.enquote}\n" if xunit
|
14
14
|
str << " EINHEIT_W #{unit.enquote}\n" if unit
|
15
15
|
str << case xvalue.first
|
16
|
-
when Numeric then " ST/X #{xvalue.join("
|
17
|
-
when String then " ST_TX/X #{xvalue.map(&:enquote).join("
|
16
|
+
when Numeric then " ST/X #{xvalue.join(" ")}\n"
|
17
|
+
when String then " ST_TX/X #{xvalue.map(&:enquote).join(" ")}\n"
|
18
18
|
end
|
19
19
|
str << case value.first
|
20
|
-
when Numeric then " WERT #{value.join("
|
21
|
-
when String then " TEXT #{value.map(&:enquote).join("
|
20
|
+
when Numeric then " WERT #{value.join(" ")}\n"
|
21
|
+
when String then " TEXT #{value.map(&:enquote).join(" ")}\n"
|
22
22
|
end
|
23
23
|
str << "END\n"
|
24
24
|
end
|
@@ -12,8 +12,8 @@ class Ecu
|
|
12
12
|
str << " FUNKTION #{function}\n" if function
|
13
13
|
str << " EINHEIT_X #{xunit.enquote}\n" if xunit
|
14
14
|
str << case xvalue.first
|
15
|
-
when Numeric then " ST/X #{xvalue.join("
|
16
|
-
when String then " ST_TX/X #{xvalue.map(&:enquote).join("
|
15
|
+
when Numeric then " ST/X #{xvalue.join(" ")}\n"
|
16
|
+
when String then " ST_TX/X #{xvalue.map(&:enquote).join(" ")}\n"
|
17
17
|
end
|
18
18
|
str << "END\n"
|
19
19
|
end
|
data/lib/ecu/version.rb
CHANGED