"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PowerPlantHeaderInfo = exports.PowerPlantSummary = exports.PowerPlantDetail = exports.PowerPlantList = exports.PowerPlant = void 0;
const tslib_1 = require("tslib");
const type_graphql_1 = require("type-graphql");
let PowerPlant = class PowerPlant {
};
exports.PowerPlant = PowerPlant;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '도메인(발전소) ID' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전소명' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "name", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '위치' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "address", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '설비용량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "capacity", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '직류전력(입력)' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "directCurrent", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '교류전력(출력)' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "alternatingCurrent", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "generationAmount", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전시간' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "generationTime", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '날씨' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "weatherId", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '평균 ' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "avgPrc", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '최대 인버터 운영 상태' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "maxInverterOperationStatus", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '최대 인버터 통신 상태' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "maxInverterCommunicationStatus", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신장애 여부' }),
    tslib_1.__metadata("design:type", String)
], PowerPlant.prototype, "isNoSignal", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '사용량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlant.prototype, "usage", void 0);
exports.PowerPlant = PowerPlant = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlant);
let PowerPlantCount = class PowerPlantCount {
};
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "count", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Float),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "capacity", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Float),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "generationTime", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "normalCount", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "stopCount", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "faultCount", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "communicationFaultCount", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], PowerPlantCount.prototype, "listCount", void 0);
PowerPlantCount = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlantCount);
let PowerPlantList = class PowerPlantList {
};
exports.PowerPlantList = PowerPlantList;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => [PowerPlant]),
    tslib_1.__metadata("design:type", Array)
], PowerPlantList.prototype, "items", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => PowerPlantCount),
    tslib_1.__metadata("design:type", PowerPlantCount)
], PowerPlantList.prototype, "total", void 0);
exports.PowerPlantList = PowerPlantList = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlantList);
let PowerPlantDetail = class PowerPlantDetail {
};
exports.PowerPlantDetail = PowerPlantDetail;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '도메인(발전소) ID' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '오늘의 발전량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "todayGenerated", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '교류전력(출력)' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "alternatingCurrent", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전시간' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "generationTime", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전소명' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "name", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '주소' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "address", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '설비용량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "capacity", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '사업주' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "ceo", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '사업주 전화번호' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "ceoPhone", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '날씨' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "weatherId", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: 'REC 가중치' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "rec", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '안전관리자' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "safetyManager", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '안전관리자 전화번호' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "safetyManagerPhone", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '새로고침 시간' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantDetail.prototype, "refreshTime", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '인버터 제조사' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "inverterManufacturer", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '인버터 모델' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "inverterModel", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '최근 수집 시간' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantDetail.prototype, "collectedAt", void 0);
exports.PowerPlantDetail = PowerPlantDetail = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlantDetail);
let PowerPlantSummary = class PowerPlantSummary {
};
exports.PowerPlantSummary = PowerPlantSummary;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '도메인(발전소) ID' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantSummary.prototype, "powerPlantId", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '당일 누적 발전량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantSummary.prototype, "sum_acc", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '이번달 평균 발전시간' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantSummary.prototype, "avg_generation_time", void 0);
exports.PowerPlantSummary = PowerPlantSummary = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlantSummary);
let PowerPlantHeaderInfo = class PowerPlantHeaderInfo {
};
exports.PowerPlantHeaderInfo = PowerPlantHeaderInfo;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '도메인(발전소) ID' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전소명' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "name", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '설비용량' }),
    tslib_1.__metadata("design:type", Number)
], PowerPlantHeaderInfo.prototype, "capacity", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '날씨' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "weatherId", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '인버터 운영 상태' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "maxInverterOperationStatus", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '인버터 통신 상태' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "maxInverterCommunicationStatus", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신장애 여부' }),
    tslib_1.__metadata("design:type", String)
], PowerPlantHeaderInfo.prototype, "isNoSignal", void 0);
exports.PowerPlantHeaderInfo = PowerPlantHeaderInfo = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], PowerPlantHeaderInfo);
//# sourceMappingURL=power-plant-type.js.map