import { Injectable, Inject } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
@Injectable({
providedIn: 'root'
})
export class IconService {
constructor(
@Inject(DomSanitizer) private sanitizer: DomSanitizer,
) { }
//新增按钮
addIconSvg='';
getAddIcon= this.sanitizer.bypassSecurityTrustHtml(this.addIconSvg);
//删除按钮
deleteIconSvg='';
getDeleteIcon= this.sanitizer.bypassSecurityTrustHtml(this.deleteIconSvg);
//保存按钮
saveIconSvg='';
getSaveIcon=this.sanitizer.bypassSecurityTrustHtml(this.saveIconSvg);
// 审核按钮
reviewIconSvg='';
getReviewIcon=this.sanitizer.bypassSecurityTrustHtml(this.reviewIconSvg);
// Excel
excelIconSvg='';
getExcelIcon=this.sanitizer.bypassSecurityTrustHtml(this.excelIconSvg);
// pdf
pdfIconSvg='';
getPdfIcon=this.sanitizer.bypassSecurityTrustHtml(this.pdfIconSvg);
// 打包下载
downloadPackageIconSvg='';
getDownloadPackageIcon=this.sanitizer.bypassSecurityTrustHtml(this.downloadPackageIconSvg);
//上传导入
importIconSvg='';
getImportIcon=this.sanitizer.bypassSecurityTrustHtml(this.importIconSvg);
//计算
calculateIconSvg='';
getCalculateIcon=this.sanitizer.bypassSecurityTrustHtml(this.calculateIconSvg);
// 日历
calendarIconSvg=''
getCalendarIcon=this.sanitizer.bypassSecurityTrustHtml(this.calendarIconSvg);
//详情
detailsIconSvg='';
getDetailsIcon=this.sanitizer.bypassSecurityTrustHtml(this.detailsIconSvg);
//修改编辑
editIconSvg='';
getEditIcon=this.sanitizer.bypassSecurityTrustHtml(this.editIconSvg);
//下载
downloadIconSvg='';
getDownloadIcon=this.sanitizer.bypassSecurityTrustHtml(this.downloadIconSvg);
//昼间
dayTimeIconSvg=''
getDayTimeIcon=this.sanitizer.bypassSecurityTrustHtml(this.dayTimeIconSvg);
//夜间
nightIconSvg=''
getNightIcon=this.sanitizer.bypassSecurityTrustHtml(this.nightIconSvg);
//温度(黑色)
temperatureIconSvg='';
getTemperatureIcon=this.sanitizer.bypassSecurityTrustHtml(this.temperatureIconSvg);
//风速(黑色)
windSpeedIconSvg='';
getWindSpeedIconSvg=this.sanitizer.bypassSecurityTrustHtml(this.windSpeedIconSvg);
//累计降雨量(黑色)
rainFallIconSvg=''
getRainFallIconSvg=this.sanitizer.bypassSecurityTrustHtml(this.rainFallIconSvg);
//相对湿度
humidityIconSvg='';
getHumidityIcon=this.sanitizer.bypassSecurityTrustHtml(this.humidityIconSvg);
//气压
airPressureIconSvg='';
getAirPressureIconSvg=this.sanitizer.bypassSecurityTrustHtml(this.airPressureIconSvg);
//风向
windDirectionSvg=''
getWindDirectionIcon=this.sanitizer.bypassSecurityTrustHtml(this.windSpeedIconSvg);
//Home点
homePointIconSvg=''
getHomePointIcon=this.sanitizer.bypassSecurityTrustHtml(this.homePointIconSvg);
//测距
rangingIconSvg=''
getRangIcon=this.sanitizer.bypassSecurityTrustHtml(this.rangingIconSvg);
//地图刷新
mapRefreshIconSvg=''
getMapRefreshIcon=this.sanitizer.bypassSecurityTrustHtml(this.mapRefreshIconSvg);
//打印(地图)
printIconSvg=''
getPrintIcon=this.sanitizer.bypassSecurityTrustHtml(this.printIconSvg);
//图层切换图标
layerSwitchIconSvg=''
getLayerSwitchIcon=this.sanitizer.bypassSecurityTrustHtml(this.layerSwitchIconSvg);
//功能区切换图标(地图)
funcAreaSwitchIconSvg=''
getFuncAreaSwitchIcon=this.sanitizer.bypassSecurityTrustHtml(this.funcAreaSwitchIconSvg);
// 站点图标(地图功能按钮)
mapSiteIconSvg='';
getMapSiteIcon=this.sanitizer.bypassSecurityTrustHtml(this.mapSiteIconSvg);
//噪声声波
noiseIconSvg=''
getNoiseIcon=this.sanitizer.bypassSecurityTrustHtml(this.noiseIconSvg);
//下载模板
// downloadTemplateIconSvg=''
downloadTemplateIconSvg='';
// downloadTemplateIconSvg='';
getDownloadTemplateIcon=this.sanitizer.bypassSecurityTrustHtml(this.downloadTemplateIconSvg);
//生成报告
generateReportIconSvg='';
getGenerateReportIcon=this.sanitizer.bypassSecurityTrustHtml(this.generateReportIconSvg);
//预览
previewIconSvg='';
getPreviewIcon=this.sanitizer.bypassSecurityTrustHtml(this.previewIconSvg);
//数据注入
dataInjectionIconSvg='';
getDataInjectionIcon=this.sanitizer.bypassSecurityTrustHtml(this.dataInjectionIconSvg);
// 复制表格
copyTableIconSvg = ''
getCopyTableIcon = this.sanitizer.bypassSecurityTrustHtml(this.copyTableIconSvg);
// 复制表格
copyPictureIconSvg = ''
getCopyPictureIcon = this.sanitizer.bypassSecurityTrustHtml(this.copyPictureIconSvg);
//处理工单
handleWorkOrderIconSvg='';
getHandleWorkOrderIcon=this.sanitizer.bypassSecurityTrustHtml(this.handleWorkOrderIconSvg);
// 接收工单
receiveWorkOrderIconSvg='';
getReceiveWorkOrderIconSvg=this.sanitizer.bypassSecurityTrustHtml(this.receiveWorkOrderIconSvg);
// 转派工单
transferOrderIconSvg='';
getTransferOrderIcon=this.sanitizer.bypassSecurityTrustHtml(this.transferOrderIconSvg);
// 填报
fillInIconSvg='';
getFillInIcon=this.sanitizer.bypassSecurityTrustHtml(this.fillInIconSvg);
// 驳回
turnDownIconSvg='';
getTurnDownIconSvg=this.sanitizer.bypassSecurityTrustHtml(this.turnDownIconSvg);
// Echarts工具图标
// 全部噪声
allNoiseIconImage='image://assets/img/noise-monitor/auto/all_noisedata.png';
// 去除噪声事件
ExcludeNoiseEventImage='image://assets/img/noise-monitor/auto/allnoise_remove_event.png';
// 分割线
splitLineImage='image://assets/img/noise-monitor/auto/divder.png';
// 计算框选
calculateImage='image://assets/img/noise-monitor/auto/calcul.png';
// echarts导出
echartsExcelExportImage='path://M825.6 376.2H697.8v78.3h127.8v-78.3z m0 100.6H697.8v79.9h127.8v-79.9z m0-201.3H697.8v78.3h127.8v-78.3z m0 397.7H697.8v79.9h127.8v-79.9z m59.1-477.5H578.1c-3.2 0-6.4 0-9.6 1.6v-84.6l-455.2 91v618.1l453.6 89.4v-81.4c3.2 1.6 6.4 1.6 9.6 1.6h306.6c16 0 27.2-12.8 27.2-28.7V224.4c1.5-15.9-11.2-28.7-25.6-28.7zM420 644.5l-54.3-3.2-41.5-103.8-44.7 97.4-51.1-3.2 65.5-118.2-59.1-129.4 51.1-3.2 35.1 97.4h6.4l38.3-103.8 54.3-3.2-68.7 137.3L420 644.5z m456.7 151.7H566.9v-43.1h103.8v-79.9H566.9v-17.6h103.8v-78.3H566.9v-20.8h103.8v-79.9H566.9v-22.4h103.8v-78.3H566.9v-20.8h103.8v-78.3H566.9v-44.7h309.8v564.1z m-51.1-218.8H697.8v78.3h127.8v-78.3z m0 0';
//报告的展开
reportOpenSvg='';
getReportOpenIcon=this.sanitizer.bypassSecurityTrustHtml(this.reportOpenSvg);
//报告的收起
reportPackSvg='';
getReportPackIcon=this.sanitizer.bypassSecurityTrustHtml(this.reportPackSvg);
// 转换
changeTableSvg = ''
getChangeTableSvg = this.sanitizer.bypassSecurityTrustHtml(this.changeTableSvg);
// 设置
configSvg = ''
getConfigSvg = this.sanitizer.bypassSecurityTrustHtml(this.configSvg);
}