modify the excel title
parent
7d7ec5d170
commit
d8c26d571d
|
@ -52,8 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = ""
|
||||
ws.title = "CombinedEquipmentBatch"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -72,7 +72,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentEfficiency"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -72,7 +72,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentIncome"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -67,7 +67,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentLoad"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentOutput"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -72,7 +72,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "CombinedEquipmentStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -52,7 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentBatch"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentEfficiency"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentIncome"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -67,7 +67,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentLoad"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentOutput"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -55,7 +55,7 @@ def generate_excel(report, space_name):
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "EquipmentTracking"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 118
|
||||
|
|
|
@ -65,7 +65,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
# todo
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "MeterCost"
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
for i in range(2, 2000 + 1):
|
||||
|
|
|
@ -60,7 +60,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "MeterEnergy"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -59,7 +59,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
|||
def generate_excel(report, name, reporting_start_datetime_local, reporting_end_datetime_local, period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "MeterSubmetersBalance"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -57,7 +57,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "MeterTracking"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "MeterTrend"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -64,7 +64,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
# todo
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "OfflineMeterCost"
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
for i in range(2, 2000 + 1):
|
||||
|
|
|
@ -59,7 +59,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "OfflineMeterEnergy"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -52,7 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorBatch"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -67,7 +67,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorLoad"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -67,7 +67,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "ShopFloorStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceEfficiency"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceIncome"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
# todo
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceLoad"
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
for i in range(2, 2000 + 1):
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceOutput"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "SpaceStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -52,7 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreBatch"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 118
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -67,7 +67,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreLoad"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -69,7 +69,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "StoreStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -52,7 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantBatch"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantBill"
|
||||
|
||||
# Row height
|
||||
for i in range(1, 11 + 1):
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantCost"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -71,7 +71,7 @@ def generate_excel(report,
|
|||
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantEnergyCategory"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantEnergyItem"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
# todo
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantLoad"
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
for i in range(2, 2000 + 1):
|
||||
|
|
|
@ -70,7 +70,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantSaving"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report,
|
|||
period_type):
|
||||
wb = Workbook()
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "TenantStatistics"
|
||||
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
|
|
|
@ -64,7 +64,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
|||
|
||||
# todo
|
||||
ws = wb.active
|
||||
ws.title = "123"
|
||||
ws.title = "VirtualMeterCost"
|
||||
# Row height
|
||||
ws.row_dimensions[1].height = 102
|
||||
for i in range(2, 2000 + 1):
|
||||
|
|
Loading…
Reference in New Issue