104 lines
4.7 KiB
C#
104 lines
4.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SolarPower.Models.PowerStation
|
|
{
|
|
public class PowerStation : Created
|
|
{
|
|
public int Id { get; set; }
|
|
public int CompanyId { get; set; }
|
|
public int CityId { get; set; } //縣市
|
|
public int AreaId { get; set; } //地區
|
|
public string Address { get; set; } //地址
|
|
public string Name { get; set; } //名稱
|
|
//public string Code { get; set; }
|
|
public byte IsEscrow { get; set; } //是否被代管
|
|
public string EscrowName { get; set; } //被代管公司
|
|
public string ElectricityMeterAt { get; set; } //台電掛錶日
|
|
public int EstimatedRecoveryTime { get; set; } //預計回收年限
|
|
public double GeneratingCapacity { get; set; } //發電容量
|
|
public double PowerRate { get; set; } //授電費率
|
|
public string Coordinate { get; set; } //座標
|
|
public string InverterBrand { get; set; } //逆變器廠牌
|
|
public string InverterProductModel { get; set; } //逆變器型號
|
|
public int InverterAmount { get; set; } //逆變器數量
|
|
public string PhotovoltaicPanelBrand { get; set; } //光電板廠牌
|
|
public string PhotovoltaicPanelProductModel { get; set; } //光電板型號
|
|
public string PhotovoltaicPanelSpecification { get; set; } //光電板規格
|
|
public int PhotovoltaicPanelAmount { get; set; } //光電板規格
|
|
public string BoEFile { get; set; } //能源局檔案
|
|
public int BoEDiscountRate { get; set; } //能源局折扣率
|
|
public string BoEDeviceRegisterNumber { get; set; } //能源局設備登記編號
|
|
public int BoERentRatio { get; set; } //能源局租金比例
|
|
public string TPCContractNumber { get; set; } //台電契約編號
|
|
public string TPCContractAt { get; set; } //台電簽約日期
|
|
public int TPCSellDeadline { get; set; } //台電售電期限(年)
|
|
public string TPCPurchaseElectricityAt { get; set; } //台電正式購電日
|
|
public string TPCSellElectricityAt { get; set; } //台電正式售電日
|
|
public List<LandBuilding> LandBuildings { get; set; } //土地房屋資料
|
|
|
|
}
|
|
|
|
public class LandBuilding : Created
|
|
{
|
|
public int Id { get; set; }
|
|
public int PowerStationId { get; set; }
|
|
public string Address { get; set; }
|
|
public string LeaseNotarizationAt { get; set; } //租約公證日期
|
|
public string Landowner { get; set; } //地主姓名
|
|
public string Purpose { get; set; } //房屋用途
|
|
public int LeaseRate { get; set; } //租金比例
|
|
public string Coordinate { get; set; } //經緯度
|
|
public string Phone { get; set; } //電話
|
|
|
|
}
|
|
|
|
public class PostPowerStationInfo
|
|
{
|
|
public int Id { get; set; }
|
|
public int CityId { get; set; } //縣市
|
|
public int AreaId { get; set; } //地區
|
|
public string Address { get; set; } //地址
|
|
public string Name { get; set; } //名稱
|
|
//public string Code { get; set; }
|
|
public byte IsEscrow { get; set; } //是否被代管
|
|
public string EscrowName { get; set; } //被代管公司
|
|
public string ElectricityMeterAt { get; set; } //台電掛錶日
|
|
public int EstimatedRecoveryTime { get; set; } //預計回收年限
|
|
public double GeneratingCapacity { get; set; } //發電容量
|
|
public double PowerRate { get; set; } //授電費率
|
|
public string Coordinate { get; set; } //座標
|
|
public string InverterBrand { get; set; } //逆變器廠牌
|
|
public string InverterProductModel { get; set; } //逆變器型號
|
|
public int InverterAmount { get; set; } //逆變器數量
|
|
public string PhotovoltaicPanelBrand { get; set; } //光電板廠牌
|
|
public string PhotovoltaicPanelProductModel { get; set; } //光電板型號
|
|
public string PhotovoltaicPanelSpecification { get; set; } //光電板規格
|
|
public int PhotovoltaicPanelAmount { get; set; } //光電板規格
|
|
}
|
|
|
|
public class OperationInfo : Created
|
|
{
|
|
public int Id { get; set; }
|
|
public int PowerStationId { get; set; }
|
|
public int Type { get; set; }
|
|
public string Name { get; set; }
|
|
public string ContactPerson { get; set; }
|
|
public string Phone { get; set; }
|
|
public string Email { get; set; }
|
|
}
|
|
public class OperationStationId
|
|
{
|
|
public int stationId { get; set; }
|
|
}
|
|
public class OperationTable : OperationInfo
|
|
{
|
|
public string CreatedName { get; set; }
|
|
public string Function { get; set; }
|
|
public string TypeName { get; set; }
|
|
}
|
|
|
|
}
|