HIKVISION |
|
Su navegador no soporta iFrames
var UserID
function Play()
{
var i;
var Netocx = document.getElementById(«NetOCX»);
UserID = Netocx.Login(«»,8000,»admin»,»Zeppeline2016″);
i = Netocx.StartRealPlay(9 ,0, 0);
if (i == 0)
{
alert(«La red está muy ocupada, intente mas tarde»);
}
}
function Ptz()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlGotoPreset(1);
}
function AllPtz()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(0,0);
Netocx.CtrlStop(0,0);
}
function AllPtz1()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(1,1);
}
function AllPtz2()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(2,1);
}
function AllPtz3()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(3,1);
}
function AllPtz4()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(4,1);
}
function AllPtz5()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.PTZCtrlStart(5,1);
}
function Alarm()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.ControlAlarmOut(0, 1);
}
function Alarmparar()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.ControlAlarmOut(0, 0);
}
function Stop()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.StopRealPlay();
Netocx.Logout();
}
function FullScreen()
{
var Netocx = document.getElementById(«NetOCX»);
Netocx.FullScreenCtrl();
}
function Play1()
{
var Netocx1 = document.getElementById(«NetOCX1»);
UserID = Netocx1.Login(«192.0.0.64″,8000,»admin»,»12345″);
Netocx1.StartRealPlay(1 ,0, 0);
}
function Stop1()
{
var Netocx1 = document.getElementById(«NetOCX1»);
Netocx1.StopRealPlay();
Netocx1.Logout();
}
function Grabar()
{
var Netocx1 = document.getElementById(«NetOCX1»);
Netocx1.StartRecord(«»);
}
function Pararg()
{
var Netocx1 = document.getElementById(«NetOCX1»);
Netocx1.StopRecord(true);
}
function Fotobmp()
{
var Netocx1 = document.getElementById(«NetOCX1»);
Netocx1.BMPCapturePicture(«», true);
}
function Fotojpeg()
{
var Netocx1 = document.getElementById(«NetOCX1»);
Netocx1.JPEGCapturePicture(2, 0, 2, «», true);
}
function Remoteconfig()
{
var Netocx1 = document.getElementById(«NetOCX1»)
Netocx1.SetRemoteConfig(admin, 1, true, CCCCCC, 999999);
}
function Servername()
{
var Netocx1 = document.getElementById(«NetOCX1»)
Netocx1.GetServerName();
}