aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/TMP.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/TMP.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/TMP.hs38
1 files changed, 38 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/TMP.hs b/specification/src/Text/Edifact/D96A/Segments/TMP.hs
new file mode 100644
index 0000000..7f251c8
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/TMP.hs
@@ -0,0 +1,38 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.TMP
7 ( -- * Definition
8 segmentTMP
9 -- * Dependencies
10 , compositeC239
11 , simple6245
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC239)
15import Text.Edifact.D96A.Simples (simple6245)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > TMP TEMPERATURE
23-- >
24-- > Function: To specify the temperature setting.
25-- >
26-- > 010 6245 TEMPERATURE QUALIFIER M an..3
27-- >
28-- > 020 C239 TEMPERATURE SETTING C
29-- > 6246 Temperature setting C n3
30-- > 6411 Measure unit qualifier C an..3
31--
32-- Dependencies: 'compositeC239', 'simple6245'.
33segmentTMP :: Parser Value
34segmentTMP =
35 segment "TMP"
36 [ "010" .@ mandatory simple6245
37 , "020" .@ optional compositeC239
38 ]