<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
<head lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
 	<%@include file="../../../../frame/assets/header-all.jsp"%>
	<style>
	.form-line .text-content{
		width:120px;
	}
	</style>
</head>
<body class="easyui-layout">
<form id="childform" class="easyui-form" data-options="novalidate:true">
	<input id="id" type="hidden" />
	<div class="form-line clearfix" >
		<div class="fl">
			<span class="text-content"><em class="must"></em>运行批次id：</span> 
			<input id="runsetid" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="运行批次id必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>任务id：</span> 
			<input id="taskid" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="任务id必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>任务名称：</span> 
			<input id="taskname" class="easyui-textbox" data-options="required:false,validType:'length[0,60]'" missingMessage="任务名称必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>任务类型：</span> 
			<input id="tasktype" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="任务类型必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>通道集合id：</span> 
			<input id="channelsetid" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="通道集合id必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>设备编号：</span> 
			<input id="videonum" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="设备编号必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>通道编号：</span> 
			<input id="channelnum" class="easyui-numberbox" data-options="required:false,validType:'length[0,10]'" missingMessage="通道编号必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>通道名称：</span> 
			<input id="channelname" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="通道名称必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>图片路径：</span> 
			<input id="picturepath" class="easyui-textbox" data-options="required:false,validType:'length[0,254]'" missingMessage="图片路径必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>图片-设计需要：</span> 
			<input id="picturebyte" class="easyui-textbox" data-options="required:false,validType:'length[0,65535]'" missingMessage="图片-设计需要必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>执行时间：</span> 
			<input id="runtime" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="执行时间必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>执行状态：</span> 
			<input id="runstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,10]'" missingMessage="执行状态必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>是否在线：</span> 
			<input id="isonline" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="是否在线必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>播放失败：</span> 
			<input id="playfail" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="播放失败必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>网络异常：</span> 
			<input id="networkerror" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="网络异常必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>无信号检测值：</span> 
			<input id="nosignalvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="无信号检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>无信号检测状态：</span> 
			<input id="nosignalstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="无信号检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>图像清晰检测值：</span> 
			<input id="imgclearvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="图像清晰检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>图像清晰检测状态：</span> 
			<input id="imgclearstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="图像清晰检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>图像对比检测值：</span> 
			<input id="imgcontrastvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="图像对比检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>图像对比检测状态：</span> 
			<input id="imgcontraststatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="图像对比检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>颜色检测值：</span> 
			<input id="imgcolorvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="颜色检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>颜色检测状态：</span> 
			<input id="imgcolorstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="颜色检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>亮度检测值：</span> 
			<input id="imglightvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="亮度检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>亮度检测状态：</span> 
			<input id="imglightstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="亮度检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频冻结检测值：</span> 
			<input id="videofreezevallue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="视频冻结检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频冻结检测状态：</span> 
			<input id="videofreezestatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="视频冻结检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>镜头抖动检测值：</span> 
			<input id="videojittervalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="镜头抖动检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>镜头抖动检测状态：</span> 
			<input id="videojitterstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="镜头抖动检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频剧变检测值：</span> 
			<input id="videoupheavalvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="视频剧变检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频剧变检测状态：</span> 
			<input id="videoupheavalstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="视频剧变检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>编码异常检测值：</span> 
			<input id="videocodeerrorvalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="编码异常检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>编码异常检测状态：</span> 
			<input id="videocodeerrorstatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="编码异常检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>噪声雪花检测值：</span> 
			<input id="videonoisevalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="噪声雪花检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>噪声雪花检测状态：</span> 
			<input id="videonoisestatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="噪声雪花检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>滚动条纹检测值：</span> 
			<input id="videorollstripevalue" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="滚动条纹检测值必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>滚动条纹检测状态：</span> 
			<input id="videorollstripestatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,5]'" missingMessage="滚动条纹检测状态必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>监控状态：</span> 
			<input id="videostatus" class="easyui-numberbox" data-options="required:false,validType:'length[0,10]'" missingMessage="监控状态必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>故障原因：</span> 
			<input id="failurecause" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="故障原因必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>创建人员：</span> 
			<input id="createaccount" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="创建人员必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>创建日期：</span> 
			<input id="createtime" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="创建日期必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>修改人员：</span> 
			<input id="modifyaccount" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="修改人员必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>修改日期：</span> 
			<input id="modifytime" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="修改日期必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>备注：</span> 
			<input id="remarks" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="备注必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展1：</span> 
			<input id="extend1" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="扩展1必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展2：</span> 
			<input id="extend2" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="扩展2必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展3：</span> 
			<input id="extend3" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="扩展3必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展4：</span> 
			<input id="extend4" class="easyui-textbox" data-options="required:false,validType:'length[0,128]'" missingMessage="扩展4必填项" > 
		</div> 
	</div>

	<div class="form-line hidden">
		 
	</div>
</form>
</body>
</html>
<script type="text/javascript">
var winId	= $.getUrlParam("winId");
var records = top.$("#"+winId).panel("options").data;
$(function(){
	//加载下拉选项
	setTimeout(loadValue,500);
});
function loadValue(){
	if(records){
		$("#id").val(records.id);
		$("#runsetid").textbox("setValue",records.runsetid);
		$("#taskid").textbox("setValue",records.taskid);
		$("#taskname").textbox("setValue",records.taskname);
		$("#tasktype").numberbox("setValue",records.tasktype);
		$("#channelsetid").textbox("setValue",records.channelsetid);
		$("#videonum").textbox("setValue",records.videonum);
		$("#channelnum").numberbox("setValue",records.channelnum);
		$("#channelname").textbox("setValue",records.channelname);
		$("#picturepath").textbox("setValue",records.picturepath);
		$("#picturebyte").textbox("setValue",records.picturebyte);
		$("#runtime").textbox("setValue",records.runtime);
		$("#runstatus").numberbox("setValue",records.runstatus);
		$("#isonline").numberbox("setValue",records.isonline);
		$("#playfail").numberbox("setValue",records.playfail);
		$("#networkerror").numberbox("setValue",records.networkerror);
		$("#nosignalvalue").numberbox("setValue",records.nosignalvalue);
		$("#nosignalstatus").numberbox("setValue",records.nosignalstatus);
		$("#imgclearvalue").numberbox("setValue",records.imgclearvalue);
		$("#imgclearstatus").numberbox("setValue",records.imgclearstatus);
		$("#imgcontrastvalue").numberbox("setValue",records.imgcontrastvalue);
		$("#imgcontraststatus").numberbox("setValue",records.imgcontraststatus);
		$("#imgcolorvalue").numberbox("setValue",records.imgcolorvalue);
		$("#imgcolorstatus").numberbox("setValue",records.imgcolorstatus);
		$("#imglightvalue").numberbox("setValue",records.imglightvalue);
		$("#imglightstatus").numberbox("setValue",records.imglightstatus);
		$("#videofreezevallue").numberbox("setValue",records.videofreezevallue);
		$("#videofreezestatus").numberbox("setValue",records.videofreezestatus);
		$("#videojittervalue").numberbox("setValue",records.videojittervalue);
		$("#videojitterstatus").numberbox("setValue",records.videojitterstatus);
		$("#videoupheavalvalue").numberbox("setValue",records.videoupheavalvalue);
		$("#videoupheavalstatus").numberbox("setValue",records.videoupheavalstatus);
		$("#videocodeerrorvalue").numberbox("setValue",records.videocodeerrorvalue);
		$("#videocodeerrorstatus").numberbox("setValue",records.videocodeerrorstatus);
		$("#videonoisevalue").numberbox("setValue",records.videonoisevalue);
		$("#videonoisestatus").numberbox("setValue",records.videonoisestatus);
		$("#videorollstripevalue").numberbox("setValue",records.videorollstripevalue);
		$("#videorollstripestatus").numberbox("setValue",records.videorollstripestatus);
		$("#videostatus").numberbox("setValue",records.videostatus);
		$("#failurecause").textbox("setValue",records.failurecause);
		$("#createaccount").textbox("setValue",records.createaccount);
		$("#createtime").textbox("setValue",records.createtime);
		$("#modifyaccount").textbox("setValue",records.modifyaccount);
		$("#modifytime").textbox("setValue",records.modifytime);
		$("#remarks").textbox("setValue",records.remarks);
		$("#extend1").textbox("setValue",records.extend1);
		$("#extend2").textbox("setValue",records.extend2);
		$("#extend3").textbox("setValue",records.extend3);
		$("#extend4").textbox("setValue",records.extend4);

	}else{
		
	}
}
/*
var xx1 = $("#xx1").textbox("getValue");//文本
var xx2 = $("#xx2").combobox("getValue");//下拉
var xx3 = $("#xx3").datetimebox("getValue");//日期
var xx4 = $("#xx4").numberbox("getValue");//数字
$('#xx5').combobox({  
	url:'xtclAction!select_Xtcl.do?csdl=xx5&page=1&rows=1000', 
	textField:"csmc",  
	valueField:"csdm",
	panelWidth:148,
	loadFilter:function(data){
		//data.unshift({"csmc":"选择","csdm":""});
		return data;
	}
});
$("#xx6").textbox("setValue",records.xx6);
$("#xx7").combobox("setValue",records.xx7);
$("#xx8").combobox("setValue",records.xx8);
$("#xx9").datetimebox("setValue",$.getNowTime());
$("#xx10").datetimebox("setValue",$.getTodayStart('00:00:00',-3));//往前推3天  +'00:00:00'
$("#xx11").datetimebox("setValue",$.getTodayEnd());//当天 +'23:59:59'	
$("#xx12").datetimebox("setValue",$.getDateNumToStr(records.xx12));
$("#xx13").numberbox("setValue",records.xx13);
*/
</script>
