Compare commits
1 Commits
master
...
revert-RJ4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdeaa2a83e |
@@ -88,8 +88,6 @@ class EbomCalculator(object):
|
|||||||
for monitor in monitors:
|
for monitor in monitors:
|
||||||
if monitor['power_source'][0] == 'Switch Gear/External':
|
if monitor['power_source'][0] == 'Switch Gear/External':
|
||||||
add_parts_to_list(part_list, {proper_monitor_controller: 1}, 1)
|
add_parts_to_list(part_list, {proper_monitor_controller: 1}, 1)
|
||||||
if (is_delta):
|
|
||||||
add_parts_to_list(part_list, {ethernet_plug: 2},1)
|
|
||||||
|
|
||||||
if is_delta:
|
if is_delta:
|
||||||
clips_amount = inverter_count * self.row_count * 1.15
|
clips_amount = inverter_count * self.row_count * 1.15
|
||||||
|
|||||||
@@ -1118,7 +1118,6 @@ class EbomCalculatorTest(unittest.TestCase):
|
|||||||
cable_support_lid: 0,
|
cable_support_lid: 0,
|
||||||
rear_skirt_1_1: 0,
|
rear_skirt_1_1: 0,
|
||||||
monitor_controller_480_v: 1,
|
monitor_controller_480_v: 1,
|
||||||
ethernet_plug: 2,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_dictionary_equal(self.subject.compute_ebom(), expected_output)
|
assert_dictionary_equal(self.subject.compute_ebom(), expected_output)
|
||||||
|
|||||||
Reference in New Issue
Block a user