1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
// <auto-generated>
// Stub condition evaluator for QUOTES FV2610.
// Source AHB: QUOTES_AHB_1_1a_20260401.xml
// 129 conditions extracted. Implementations pending — all return Unknown.
// </auto-generated>
// LLM-produced bodies aren't idiomatic Rust — silence stylistic lints at
// file scope so `cargo clippy -D warnings` stays green. Correctness,
// suspicious, and perf categories stay on so real bugs still surface.
#![allow(clippy::style, clippy::complexity)]
use crate::eval::{ConditionEvaluator, ConditionResult, EvaluationContext};
/// Condition evaluator for QUOTES FV2610.
pub struct QuotesConditionEvaluatorFV2610 {
external_conditions: std::collections::HashSet<u32>,
}
impl Default for QuotesConditionEvaluatorFV2610 {
fn default() -> Self {
let mut external_conditions = std::collections::HashSet::new();
external_conditions.insert(59);
external_conditions.insert(60);
external_conditions.insert(61);
external_conditions.insert(62);
external_conditions.insert(63);
external_conditions.insert(70);
external_conditions.insert(71);
external_conditions.insert(74);
external_conditions.insert(75);
external_conditions.insert(77);
external_conditions.insert(78);
external_conditions.insert(90);
external_conditions.insert(91);
external_conditions.insert(92);
external_conditions.insert(2066);
Self {
external_conditions,
}
}
}
impl ConditionEvaluator for QuotesConditionEvaluatorFV2610 {
fn message_type(&self) -> &str {
"QUOTES"
}
fn format_version(&self) -> &str {
"FV2610"
}
fn evaluate(&self, condition: u32, ctx: &EvaluationContext) -> ConditionResult {
match condition {
1 => self.evaluate_1(ctx),
2 => self.evaluate_2(ctx),
3 => self.evaluate_3(ctx),
4 => self.evaluate_4(ctx),
5 => self.evaluate_5(ctx),
8 => self.evaluate_8(ctx),
9 => self.evaluate_9(ctx),
10 => self.evaluate_10(ctx),
11 => self.evaluate_11(ctx),
12 => self.evaluate_12(ctx),
13 => self.evaluate_13(ctx),
15 => self.evaluate_15(ctx),
16 => self.evaluate_16(ctx),
17 => self.evaluate_17(ctx),
18 => self.evaluate_18(ctx),
20 => self.evaluate_20(ctx),
21 => self.evaluate_21(ctx),
22 => self.evaluate_22(ctx),
25 => self.evaluate_25(ctx),
26 => self.evaluate_26(ctx),
27 => self.evaluate_27(ctx),
28 => self.evaluate_28(ctx),
29 => self.evaluate_29(ctx),
30 => self.evaluate_30(ctx),
31 => self.evaluate_31(ctx),
39 => self.evaluate_39(ctx),
44 => self.evaluate_44(ctx),
49 => self.evaluate_49(ctx),
50 => self.evaluate_50(ctx),
51 => self.evaluate_51(ctx),
52 => self.evaluate_52(ctx),
53 => self.evaluate_53(ctx),
54 => self.evaluate_54(ctx),
55 => self.evaluate_55(ctx),
56 => self.evaluate_56(ctx),
57 => self.evaluate_57(ctx),
58 => self.evaluate_58(ctx),
59 => self.evaluate_59(ctx),
60 => self.evaluate_60(ctx),
61 => self.evaluate_61(ctx),
62 => self.evaluate_62(ctx),
63 => self.evaluate_63(ctx),
65 => self.evaluate_65(ctx),
66 => self.evaluate_66(ctx),
67 => self.evaluate_67(ctx),
68 => self.evaluate_68(ctx),
69 => self.evaluate_69(ctx),
70 => self.evaluate_70(ctx),
71 => self.evaluate_71(ctx),
72 => self.evaluate_72(ctx),
73 => self.evaluate_73(ctx),
74 => self.evaluate_74(ctx),
75 => self.evaluate_75(ctx),
77 => self.evaluate_77(ctx),
78 => self.evaluate_78(ctx),
79 => self.evaluate_79(ctx),
80 => self.evaluate_80(ctx),
81 => self.evaluate_81(ctx),
82 => self.evaluate_82(ctx),
83 => self.evaluate_83(ctx),
84 => self.evaluate_84(ctx),
85 => self.evaluate_85(ctx),
86 => self.evaluate_86(ctx),
87 => self.evaluate_87(ctx),
88 => self.evaluate_88(ctx),
90 => self.evaluate_90(ctx),
91 => self.evaluate_91(ctx),
92 => self.evaluate_92(ctx),
93 => self.evaluate_93(ctx),
94 => self.evaluate_94(ctx),
490 => self.evaluate_490(ctx),
491 => self.evaluate_491(ctx),
492 => self.evaluate_492(ctx),
493 => self.evaluate_493(ctx),
494 => self.evaluate_494(ctx),
500 => self.evaluate_500(ctx),
501 => self.evaluate_501(ctx),
502 => self.evaluate_502(ctx),
503 => self.evaluate_503(ctx),
504 => self.evaluate_504(ctx),
505 => self.evaluate_505(ctx),
506 => self.evaluate_506(ctx),
507 => self.evaluate_507(ctx),
511 => self.evaluate_511(ctx),
512 => self.evaluate_512(ctx),
513 => self.evaluate_513(ctx),
514 => self.evaluate_514(ctx),
516 => self.evaluate_516(ctx),
517 => self.evaluate_517(ctx),
518 => self.evaluate_518(ctx),
519 => self.evaluate_519(ctx),
520 => self.evaluate_520(ctx),
521 => self.evaluate_521(ctx),
903 => self.evaluate_903(ctx),
906 => self.evaluate_906(ctx),
908 => self.evaluate_908(ctx),
911 => self.evaluate_911(ctx),
912 => self.evaluate_912(ctx),
914 => self.evaluate_914(ctx),
931 => self.evaluate_931(ctx),
932 => self.evaluate_932(ctx),
933 => self.evaluate_933(ctx),
934 => self.evaluate_934(ctx),
935 => self.evaluate_935(ctx),
939 => self.evaluate_939(ctx),
940 => self.evaluate_940(ctx),
942 => self.evaluate_942(ctx),
950 => self.evaluate_950(ctx),
951 => self.evaluate_951(ctx),
959 => self.evaluate_959(ctx),
960 => self.evaluate_960(ctx),
961 => self.evaluate_961(ctx),
962 => self.evaluate_962(ctx),
2042 => self.evaluate_2042(ctx),
2060 => self.evaluate_2060(ctx),
2061 => self.evaluate_2061(ctx),
2062 => self.evaluate_2062(ctx),
2063 => self.evaluate_2063(ctx),
2064 => self.evaluate_2064(ctx),
2066 => self.evaluate_2066(ctx),
2068 => self.evaluate_2068(ctx),
2069 => self.evaluate_2069(ctx),
2070 => self.evaluate_2070(ctx),
2071 => self.evaluate_2071(ctx),
2072 => self.evaluate_2072(ctx),
2073 => self.evaluate_2073(ctx),
2074 => self.evaluate_2074(ctx),
2075 => self.evaluate_2075(ctx),
2076 => self.evaluate_2076(ctx),
_ => ConditionResult::Unknown,
}
}
fn is_external(&self, condition: u32) -> bool {
self.external_conditions.contains(&condition)
}
}
impl QuotesConditionEvaluatorFV2610 {
/// [1] Wenn Position nicht angeboten werden kann, weil rechtliche Regelungen oder Rechte Dritter dem entgegenstehen
fn evaluate_1(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2] Wenn in derselben SG27 LIN IMD DE7081 (Produkt-/Leistungsbeschreibung) mit Code Z09 (Kann nicht angeboten werden) nicht vorhanden.
fn evaluate_2(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [3] Wenn CCI+++Z64 vorhanden ist
fn evaluate_3(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [4] Wenn am Gerät vorhanden und abweichend von Gerätenummer
fn evaluate_4(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [5] Wenn in derselben SG27 LIN die Artikelnummer 9990001000649 vorhanden ist
fn evaluate_5(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [8] Wenn SG28 CCI+++E13 CAV+EHZ vorhanden
fn evaluate_8(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [9] Wenn in derselben SG27 LIN die Artikelnummer 9990001000657 vorhanden ist
fn evaluate_9(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [10] Wenn SG28 CAV+MIW/MPW/MBW vorhanden
fn evaluate_10(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [11] Wenn in derselben SG27 LIN die Artikelnummer 9990001000665 vorhanden ist
fn evaluate_11(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [12] Wenn in derselben SG27 LIN die Artikelnummer 9990001000673 vorhanden ist
fn evaluate_12(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [13] Wenn am Gerät vorhanden
fn evaluate_13(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [15] Wenn in derselben SG27 LIN die Artikelnummer 9990001000772 vorhanden ist
fn evaluate_15(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [16] Wenn in derselben SG27 LIN die Artikelnummer 9990001000780 vorhanden ist
fn evaluate_16(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [17] Wenn das Angebot per REQOTE angefragt wurde
fn evaluate_17(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [18] Wenn Angebot mehrere Marktlokationen abdeckt, an welchen der identische Anschlussnutzer vorhanden ist und deren messtechnische Einordnung iMS ist (Marktlokation aus SG11 LOC+172 und alle Marktlokat...
fn evaluate_18(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [20] Wenn IMD++Z33 vorhanden
fn evaluate_20(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [21] Wenn IMD++Z34 vorhanden
fn evaluate_21(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [22] Wenn CCI+++Z75 vorhanden ist
fn evaluate_22(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [25] Wenn SG28 CCI+++E13 CAV+MME vorhanden
fn evaluate_25(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [26] Wenn DTM+203 nicht vorhanden
fn evaluate_26(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [27] Wenn DTM+469 nicht vorhanden
fn evaluate_27(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [28] Wenn RFF+AAV vorhanden
fn evaluate_28(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [29] Wenn DTM+469 in Anfrage (REQOTE) vorhanden war
fn evaluate_29(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [30] Wenn SG27 IMD+Z09 vorhanden
fn evaluate_30(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [31] Es sind nur die Artikelnummern erlaubt, die in der Codeliste der Artikelnummern des BDEW mit dem entsprechenden Prüfidentifikator versehen sind.
fn evaluate_31(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [39] MP-ID nur aus Sparte Strom
fn evaluate_39(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [44] Wenn MSBA nicht Eigentümer des Gerätes/der Geräte ist
fn evaluate_44(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [49] Wenn SG27 LIN++Z64 (Erforderliches Produkt Schaltzeitdefinitionen) vorhanden
fn evaluate_49(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [50] Wenn SG27 LIN++Z65 (Erforderliches Produkt Leistungskurvendefinitionen) vorhanden
fn evaluate_50(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [51] Wenn SG27 LIN++Z66 (Erforderliches Produkt Ad-hoc-Steuerkanal) vorhanden
fn evaluate_51(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [52] Wenn SG27 LIN++Z67 (Erforderliches Messprodukt für Werte nach Typ 2 aus Backend) vorhanden
fn evaluate_52(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [53] Wenn SG27 LIN++Z68 (Erforderliches Produkt Konfigurationserlaubnis für Werte nach Typ2 aus SMGW) vorhanden
fn evaluate_53(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [54] Wenn in der Anfrage zum Angebot einer Konfiguration vorhanden
fn evaluate_54(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [55] Wenn in LOC+172 DE3225 (Meldepunkt) die ID einer Marktlokation angegeben ist.
fn evaluate_55(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [56] Wenn in LOC+172 DE3225 (Meldepunkt) die ID einer Messlokation angegeben ist.
fn evaluate_56(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [57] Wenn in LOC+172 DE3225 (Meldepunkt) die ID einer Netzlokation angegeben ist.
fn evaluate_57(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [58] Wenn in LOC+172 DE3225 (Meldepunkt) die ID einer Steuerbaren Ressource angegeben ist.
fn evaluate_58(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [59] Es sind nur die Konfigurations-Produkte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.1 „Konfigurationsprodukte Schaltzeitdefinition“ enthalten sind.
fn evaluate_59(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [60] Es sind nur die Konfigurations-Produkte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.2 „Konfigurationsprodukte Leistungskurvendefinition“ enthalten sind.
fn evaluate_60(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [61] Es sind nur die Konfigurations-Produkte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.3 „Konfigurationsprodukte Ad-hoc-Steuerkanal“ enthalten sind.
fn evaluate_61(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [62] Es sind nur die Messprodukte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.5 „Messprodukte für Werte nach Typ 2 aus Backend für LF und NB“ enthalten sind.
fn evaluate_62(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [63] Es sind nur die Messprodukte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.4 „Messprodukte mit Konfigurationserlaubnis für Werte nach Typ 2 aus SMGW“ enthalten sind.
fn evaluate_63(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [65] Wenn DTM+203 (Ausführungsdatum) im DE2380 < 202312312300?+00
fn evaluate_65(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [66] Wenn DTM+469 (Beginn zum (nächstmöglichen Termin)) im DE2380 < 202312312300?+00
fn evaluate_66(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [67] Wenn DTM+203 (Ausführungsdatum) im DE2380 ≥ 202312312300?+00
fn evaluate_67(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [68] Wenn DTM+469 (Beginn zum (nächstmöglichen Termin)) im DE2380 ≥ 202312312300?+00
fn evaluate_68(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [69] Es sind nur Werte aus der EDI@Energy Codeliste der Artikelnummern und Artikel-ID erlaubt, die im Kapitel 3.5 \"Abrechnung Messstellenbetrieb für die Sparte Strom\" genannt sind.
fn evaluate_69(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [70] Es sind nur die Messprodukt-Position-Codes erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.7 „Art der Werte für Messprodukte nach Typ 2“ enthalten sind.
fn evaluate_70(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [71] Wenn innerhalb derselben SG27 LIN im PIA+5 DE7140 (Erforderliches Produkt Konfigurationserlaubnis für Werte nach Typ 2 aus SMGW) ein Produkt angegeben ist, das in der Codeliste der Konfigurationen...
fn evaluate_71(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [72] wenn im DE3155 in demselben COM der Code EM vorhanden ist
fn evaluate_72(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [73] wenn im DE3155 in demselben COM der Code TE / FX / AJ / AL vorhanden ist
fn evaluate_73(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [74] Es sind nur die Messprodukte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.6.1 \"Werte nach Typ 2 aus Backend\" enthalten sind.
fn evaluate_74(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [75] Es sind nur die Messprodukte erlaubt, die in der Codeliste der Konfigurationen im Kapitel 4.6.2 \"Werte nach Typ 2 aus SMGW\" enthalten sind.
fn evaluate_75(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [77] Wenn in der Anfrage nach Werten ein Messprodukt enthalten war, das in der Codeliste der Konfigurationen im Kapitel 4.6.1 \"Werte nach Typ 2 aus Backend\" enthalten ist.
fn evaluate_77(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [78] Wenn in der Anfrage nach Werten ein Messprodukt enthalten war, das in der Codeliste der Konfigurationen im Kapitel 4.6.2 \"Werte nach Typ 2 aus SMWG\" enthalten ist.
fn evaluate_78(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [79] Wenn IMD DE7081 (Produkt-/Leistungsbeschreibung) mit Wert Z07 (Kauf) vorhanden.
fn evaluate_79(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [80] Wenn IMD DE7081 (Produkt-/Leistungsbeschreibung) mit Wert Z08 (Nutzungsüberlassung) vorhanden.
fn evaluate_80(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [81] Wenn IMD DE7081 (Produkt-/Leistungsbeschreibung) mit Wert Z33 (Angebot auf Basis Preisblatt) vorhanden.
fn evaluate_81(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [82] Wenn IMD DE7081 (Produkt-/Leistungsbeschreibung) mit Wert Z34 (Individuelles Angebot) vorhanden.
fn evaluate_82(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [83] Wenn in derselben SG27 LIN ein PIA+Z02 (Artikel-ID) mit einer Artikel-ID im DE7140 bei der die letzten beiden Stellen mit dem Wert \"01\" (Kosten für das Einrichten des Messprodukts) vorhanden ist.
fn evaluate_83(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [84] Wenn in derselben SG27 LIN ein PIA+Z02 (Artikel-ID) mit einer Artikel-ID im DE7140 bei der die letzten beiden Stellen mit dem Wert \"02\" (Kosten für den Betrieb des Messprodukts) vorhanden ist.
fn evaluate_84(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [85] Wenn in derselben SG27 LIN ein PIA+Z02 (Artikel-ID) mit einer Artikel-ID im DE7140 bei der die letzten beiden Stellen mit dem Wert \"03\" (Kosten für die anfallenden Transaktionen des Messprodukts...
fn evaluate_85(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [86] Wenn in derselben SG31 PRI (Preisangabe zur Position) das DE5387 mit dem Wert Z01 (Einrichtungspreis) vorhanden ist.
fn evaluate_86(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [87] Wenn in derselben SG31 PRI (Preisangabe zur Position) das DE5387 mit dem Wert Z02 (Transaktionspreis) vorhanden ist.
fn evaluate_87(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [88] Wenn in derselben SG31 PRI (Preisangabe zur Position) das DE5387 mit dem Wert Z03 (Betriebspreis) vorhanden ist.
fn evaluate_88(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [90] Es sind nur die Produkt-Codes erlaubt, die in der Codeliste der Konfigurationen im Kapitel 7 \"Produkte zur Bestellung einer Änderung an einer Lokation\" die in der Spalte \"Ebene\" mit dem Wert \...
fn evaluate_90(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [91] Es sind nur die Produkt-Codes erlaubt, die in der Codeliste der Konfigurationen im Kapitel 7 \"Produkte zur Bestellung einer Änderung an einer Lokation\" die in der Spalte \"Ebene\" mit dem Wert \...
fn evaluate_91(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [92] Es sind nur die Produkt-Codes erlaubt, die in der Codeliste der Konfigurationen im Kapitel 7 \"Produkte zur Bestellung einer Änderung an einer Lokation\" die in der Spalte \"Ebene\" mit dem Wert \...
fn evaluate_92(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [93] Wenn RNG+Z03 (verbindliche Mengenangabe) in dieser SG31 nicht vorhanden
fn evaluate_93(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [94] Wenn RNG+Z04 (unverbindliche Mengenangabe) in dieser SG31 nicht vorhanden
fn evaluate_94(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [490] wenn Wert in diesem DE, an der Stelle CCYYMMDDHHMM ein Zeitpunkt aus dem angegeben Zeitraum der Tabelle Kapitel 3.5 „Übersicht gesetzliche deutsche Sommerzeit (MESZ)“ der Spalten: „Sommerzei...
fn evaluate_490(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [491] wenn Wert in diesem DE, an der Stelle CCYYMMDDHHMM ein Zeitpunkt aus dem angegeben Zeitraum der Tabelle Kapitel 3.6 „Übersicht gesetzliche deutsche Zeit (MEZ)“ der Spalten: „Winterzeit (MEZ)...
fn evaluate_491(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [492] wenn MP-ID in NAD+MR aus Sparte Strom
fn evaluate_492(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [493] wenn MP-ID in NAD+MR aus Sparte Gas
fn evaluate_493(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [494] Das hier genannte Datum muss der Zeitpunkt sein, zu dem das Dokument erstellt wurde, oder ein Zeitpunkt, der davor liegt.
fn evaluate_494(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [500] Hinweis: Angabe eines technischen Ansprechpartners für die Geräteübernahme
fn evaluate_500(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [501] Hinweis: Verwendung der ID der Marktlokation
fn evaluate_501(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [502] Hinweis: Verwendung der ID der Messlokation
fn evaluate_502(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [503] Hinweis: Es ist die MP-ID des Eigentümers (MSB) zur bilateralen Klärung anzugeben, wenn z. B. der MSBA das Gerät / die Geräte selbst gepachtet hat.
fn evaluate_503(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [504] Hinweis: Wert aus BGM+311 DE1004 der REQOTE mit der die Angebotsanfrage erfolgt ist.
fn evaluate_504(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [505] Hinweis: Wert aus BGM+Z29 DE1004 der REQOTE, mit der die Anfrage Rechnungsabwicklung erfolgt ist.
fn evaluate_505(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [506] Hinweis: Wenn zu einer Position (z. B. Messwandlersatz) mehrere Gerätenummern existieren, sind die Gerätenummern in derselben Position (LIN-Segment) mittels Wiederholung der SG32 RFF+Z09 anzugeben
fn evaluate_506(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [507] Hinweis: Verwendung der ID der Tranche
fn evaluate_507(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [511] Hinweis: Wert aus BGM+Z74 (Bestellung eines Angebots einer Konfiguration) DE1004 der REQOTE mit der die Anfrage einer Konfiguration erfolgt ist.
fn evaluate_511(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [512] Hinweis: Verwendung der ID der Netzlokation
fn evaluate_512(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [513] Hinweis: Verwendung der ID der Steuerbaren Ressource
fn evaluate_513(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [514] Hinweis: Angabe gemäß Preisblatt des MSB. Bis zu einmal für die Parametrierung, bis zu einmal für den Betrieb und bis zu einmal für die Transaktion, sofern im Preisblatt des MSB vorhanden.
fn evaluate_514(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [516] Hinweis: Es darf nur eine Information im DE3148 übermittelt werden
fn evaluate_516(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [517] Hinweis: Wert aus BGM+Z93 (Bestellung eines Angebots Änderung der Technik der Lokation) DE1004 der REQOTE mit der die Anfrage Angebot Änderung Technik erfolgt ist.
fn evaluate_517(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [518] Hinweis: Angabe gemäß Preisblatt B des MSB.
fn evaluate_518(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [519] Hinweis: Wert aus BGM DE1004 der PRICAT mit der das Preisblatt B des MSB, auf dem dieses Angebot basiert, übermittelt wurde.
fn evaluate_519(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [520] Hinweis: Angabe des Beginnzeitpunkts des voraussichtlich frühesten Umsetzungstermins, der zum Zeitpunkt der Angebotserstellung ermittelt werden kann.
fn evaluate_520(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [521] Hinweis: Angabe des Endezeitpunkts des voraussichtlich frühesten Umsetzungstermins, der zum Zeitpunkt der Angebotserstellung ermittelt werden kann..
fn evaluate_521(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [903] Format: Möglicher Wert: 1
fn evaluate_903(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [906] Format: max. 3 Nachkommastellen
fn evaluate_906(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [908] Format: Mögliche Werte: 1 bis n
fn evaluate_908(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [911] Format: Mögliche Werte: 1 bis n, je Nachricht oder Segmentgruppe bei 1 beginnend und fortlaufend aufsteigend
fn evaluate_911(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [912] Format: max. 6 Nachkommastellen
fn evaluate_912(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [914] Format: Möglicher Wert: > 0
fn evaluate_914(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [931] Format: ZZZ = +00
fn evaluate_931(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [932] Format: HHMM = 2200
fn evaluate_932(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [933] Format: HHMM = 2300
fn evaluate_933(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [934] Format: HHMM = 0400
fn evaluate_934(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [935] Format: HHMM = 0500
fn evaluate_935(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [939] Format: Die Zeichenkette muss die Zeichen @ und . enthalten
fn evaluate_939(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [940] Format: Die Zeichenkette muss mit dem Zeichen + beginnen und danach dürfen nur noch Ziffern folgen
fn evaluate_940(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [942] Format: n1-n2-n1-n3
fn evaluate_942(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [950] Format: Marktlokations-ID
fn evaluate_950(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [951] Format: Zählpunktbezeichnung
fn evaluate_951(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [959] Format: n13-n2
fn evaluate_959(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [960] Format: Netzlokations-ID
fn evaluate_960(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [961] Format: SR-ID
fn evaluate_961(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [962] Format: max. 6 Vorkommastellen
fn evaluate_962(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2042] Innerhalb dieser LIN-Position muss das PIA+Z02 (Artikel-ID) mindestens ein Mal angegeben werden und kann bis zu drei Mal angegeben werden.
fn evaluate_2042(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2060] Pro Nachricht ist die SG27 LIN+Z64 (Erforderliches Produkt Schaltzeitdefinitionen) maximal einmal anzugeben.
fn evaluate_2060(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2061] Pro Nachricht ist die SG27 LIN++Z65 (Erforderliches Produkt Leistungskurvendefinitionen) maximal einmal anzugeben.
fn evaluate_2061(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2062] Pro Nachricht ist die SG27 LIN++Z66 (Erforderliches Produkt Ad-hoc-Steuerkanal) maximal einmal anzugeben.
fn evaluate_2062(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2063] Pro Nachricht ist die SG27 LIN++Z67 (Erforderliches Messprodukt für Werte nach Typ 2 aus Backend) maximal einmal anzugeben.
fn evaluate_2063(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2064] Pro Nachricht ist die SG27 LIN++Z68 (Erforderliches Produkt Konfigurationserlaubnis für Werte nach Typ 2 aus SMGW) maximal einmal anzugeben.
fn evaluate_2064(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2066] Diese SG28 ist so oft zu wiederholen, wie zu den unterschiedlichen Messprodukt-Position-Codes zu dem innerhalb derselben SG27 LIN im PIA+5 DE7140 (Erforderliches Produkt Konfigurationserlaubnis fü...
fn evaluate_2066(&self, ctx: &EvaluationContext) -> ConditionResult {
ctx.external.evaluate("code_list_membership_check")
}
/// [2068] Pro SG27 LIN ist die SG31 PRI genau einmal anzugeben.
fn evaluate_2068(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2069] Pro SG27 LIN ist die SG31 PRI genau einmal anzugeben. Dabei muss in der SG31 PRI im DE5284 eine Mengenangabe mit dem Code H87 (Stück) im DE6411 angegeben sein.
fn evaluate_2069(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2070] Pro SG27 LIN ist die SG31 PRI zweimal anzugeben. Dabei muss genau eine SG31 PRI mit Preis- und Mengenangabe und dem Code H87 (Stück) im DE6411 und genau eine SG31 PRI mit Preis- und Mengenangabe u...
fn evaluate_2070(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2071] Diese SG31 PRI (Preisangabe zur Position) ist bis zu dreimal anzugeben. Es ist so oft anzugeben, wie innerhalb derselben SG27 LIN (Erforderliches Messprodukt für Werte nach Typ2 aus Backend) das P...
fn evaluate_2071(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2072] Diese SG31 PRI (Preisangabe zur Position) ist bis zu dreimal anzugeben. Es ist so oft anzugeben, wie innerhalb derselben SG27 LIN (Erforderliches Produkt Konfigurationserlaubnis für Werte nach Typ...
fn evaluate_2072(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2073] Das PIA (OBIS-Kennzahl für Werte nach Typ 2 Backend) ist mindestens einmal anzugeben. Es kann in Abhängigkeit zu den anderen PIA Segmenten innerhalb derselben SG27 LIN (Erforderliches Messprodukt...
fn evaluate_2073(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2074] Pro Nachricht ist diese SG27 so oft zu wiederholen, bis für jedes angefragte Produkt derselben SG27 aus der Anfrage eine Angebotsposition angegeben wurde.
fn evaluate_2074(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2075] Pro SG27 LIN kann die SG27 PIA+Z02 (Artikel-ID) bis zu zweimal angegeben werden. Einmal für die Artikel-ID gemäß Preisblatt B des MSB und einmal für die Artikel-ID \"9991000003030-01\" (Pauscha...
fn evaluate_2075(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
/// [2076] Pro SG27 LIN kann die SG31 Preisangabe zur Position nur einmal angegeben werden. Die Angabe der Preisangaben zur Position bezieht sich auf die Artikel-ID bei der es sich nicht um die Artikel-ID \"9...
fn evaluate_2076(&self, _ctx: &EvaluationContext) -> ConditionResult {
// TODO: implement
ConditionResult::Unknown
}
}