当前摄像头信息
摄像头信息
摄像头视频监控
摄像头列表
温度监测1
1#后排风机
{{ item.name }}
{{ item.count }}
编号:{{ item.bianhao }}
1#窑主电机
{{ item.name }}
{{ item.count }}
编号:{{ item.bianhao }}
温度监测2
智能操控装置
-
{{ item.name }}:
{{ item.count }}
℃
智能操控装置
-
{{ item.name }}:
{{ item.count }}
℃
export default {
data() {
return {
fjlist: [
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#后排风机上动触头A相",
count: "0.0",
bianhao: "139671",
},
],
fjlist2: [
{
name: "1#窑主电机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#窑主电机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#窑主电机上动触头A相",
count: "0.0",
bianhao: "139671",
},
{
name: "1#窑主电机上动触头A相",
count: "0.0",
bianhao: "139671",
},
],
list: [
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
{
name: "上静触头A相温度",
count: "0.0",
},
],
options: [
{
value: "选项1",
label: "线路测温",
},
{
value: "选项2",
label: "设备测温",
},
{
value: "选项3",
label: "线路测温",
},
{
value: "选项4",
label: "线路测温",
},
{
value: "选项5",
label: "线路测温",
},
],
value: "设备测温",
res: "生产监控系统",
tableData: [
{
date1: "水泥单位产品综合能耗",
date2: "80kgce/t",
date3: "84kgce/t",
date4: "5%",
},
{
date1: "水泥大内产品综合电耗",
date2: "40kWh/t",
date3: "53kWh/t",
date4: "32.5%",
},
{
date1: "熟料单位产品综合能耗",
date2: "100kgce/t",
date3: "114kgce/t",
date4: "14%",
},
{
date1: "熟料单位产品综合电耗",
date2: "48kWh/t",
date3: "55kWh/t",
date4: "14.58%",
},
{
date1: "熟料单位产品综合煤耗",
date2: "94kgce/",
date3: "108kgce/",
date4: "14.89%",
},
],
devices: [
{
date1: "回转窑",
date2: true,
date3: "102.00",
},
{
date1: "熟料收尘",
date2: true,
date3: "29.00",
},
{
date1: "篦冷机",
date2: true,
date3: "45.00",
},
{
date1: "生料收尘",
date2: false,
date3: "102.00",
},
{
date1: "回转窑",
date2: true,
date3: "29.00",
},
{
date1: "熟料收尘",
date2: false,
date3: "45.00",
},
],
sxtlist: [
{
src: require("../../assets/videos/G.E.M.邓紫棋 - 不想回家.mp4"),
name: "SP锅炉",
},
{
src: require("../../assets/videos/G.E.M.邓紫棋 - 句号.mp4"),
name: "回转窑",
},
{
src: require("../../assets/videos/G.E.M.邓紫棋 - GLORIA.mp4"),
name: "西侧垃圾发电",
},
{
src: require("../../assets/videos/林俊杰 - 愿与愁.mp4"),
name: "北侧垃圾发电",
},
{
src: require("../../assets/videos/G.E.M.邓紫棋 - 不想回家.mp4"),
name: "SP锅炉",
},
{
src: require("../../assets/videos/G.E.M.邓紫棋 - 句号.mp4"),
name: "回转窑",
},
{
src: require("../../assets/videos/G.E.M.邓紫棋 - GLORIA.mp4"),
name: "西侧垃圾发电",
},
{
src: require("../../assets/videos/林俊杰 - 愿与愁.mp4"),
name: "北侧垃圾发电",
},
],
dates: new Date(),
videoSource: require("../../assets/videos/林俊杰 - 愿与愁.mp4"),
isFullScreenTag: false,
};
},
methods: {
//U3D交互的绑定
sendMessageToCSharp() {
// window.vuplex.postMessage({
// type: "Tog",
// message: "智能运维_true",
// });
window.vuplex.postMessage("智能运维-监控");
this.$router.push("/znyw");
},
defineEcharts(dom, option) {
var chartDom = document.getElementById(dom);
var myChart = this.$echarts.init(chartDom);
myChart.setOption(option);
},
tableRowClassName({ row, rowIndex }) {
if ((rowIndex + 1) % 2 === 0) {
return "success-row";
}
return "";
},
handleFullScreen() {
screenfull.toggle(this.$refs.videos);
},
},
created() {
// if (window.vuplex) {
// addMessageListener();
// } else {
// window.addEventListener("vuplexready", addEventListener);
// } function addEventListener() {
// window.vuplex.addEventListener("message", function (event) {
// let json = event.data;
// console.log("JSON received" + json);
// })
// }
},
mounted() {
setInterval(() => {
moment.locale("zh-cn");
// 获取当前时间
const currentTime = moment();
// 格式化时间为指定格式:年-月-日 星期几 时分秒
const formattedTime = currentTime.format("YYYY-MM-DD dddd HH:mm:ss");
// 输出格式化后的时间
this.dates = formattedTime;
}, 100);
var options = {
wsURL:"ws://221.214.127.18:8200/rtspoverwebsocket",
rtspURL:"rtsp://admin:pyss2017@192.168.1.212:8200/cam/realmonitor?channel=D1&subtype=0",
username:"admin",
password:"pyss2017"
};
var videoplayerObj = document.getElementById("testVideo");
var canvasplayerObj = document.getElementById("testCanvas");
var player = new PlayerControl(options);
player.init(canvasplayerObj,videoplayerObj);
},
};