<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改工位管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-SubStation-edit" th:object="${tBdSubstation}">
            <input name="ID" th:field="*{ID}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">工位id：</label>
                <div class="col-sm-8">
                    <input name="StationID" th:field="*{StationID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工位代码：</label>
                <div class="col-sm-8">
                    <input name="StationCode" th:field="*{StationCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工位类型：</label>
                <div class="col-sm-8">
                    <select name="StationType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机台id：</label>
                <div class="col-sm-8">
                    <input name="MachineID" th:field="*{MachineID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">连接id：</label>
                <div class="col-sm-8">
                    <input name="UniteID" th:field="*{UniteID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实际code：</label>
                <div class="col-sm-8">
                    <input name="CustomerCode" th:field="*{CustomerCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工位名称：</label>
                <div class="col-sm-8">
                    <input name="StationName" th:field="*{StationName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">父工位id：</label>
                <div class="col-sm-8">
                    <input name="ParentStationID" th:field="*{ParentStationID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">父工位码：</label>
                <div class="col-sm-8">
                    <input name="ParentStationCode" th:field="*{ParentStationCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">父工位名：</label>
                <div class="col-sm-8">
                    <input name="ParentStationName" th:field="*{ParentStationName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">前工位id：</label>
                <div class="col-sm-8">
                    <input name="PreStationID" th:field="*{PreStationID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">前工位码：</label>
                <div class="col-sm-8">
                    <input name="PreStationCode" th:field="*{PreStationCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="Reamark" th:field="*{Reamark}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户id：</label>
                <div class="col-sm-8">
                    <input name="UserID" th:field="*{UserID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">表名称：</label>
                <div class="col-sm-8">
                    <input name="TableName" th:field="*{TableName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否子工位：</label>
                <div class="col-sm-8">
                    <input name="IsSemi" th:field="*{IsSemi}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否弃用工位：</label>
                <div class="col-sm-8">
                    <input name="IsNGStation" th:field="*{IsNGStation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">数据：</label>
                <div class="col-sm-8">
                    <input name="HaveData" th:field="*{HaveData}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否显示：</label>
                <div class="col-sm-8">
                    <select name="IsShow" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有效，上位机使用该字段：</label>
                <div class="col-sm-8">
                    <input name="UseFlag" th:field="*{UseFlag}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">参数个数：</label>
                <div class="col-sm-8">
                    <input name="paraCount" th:field="*{paraCount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">排序id：</label>
                <div class="col-sm-8">
                    <input name="OrderID" th:field="*{OrderID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">限制id：</label>
                <div class="col-sm-8">
                    <input name="LimitID" th:field="*{LimitID}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图片路径：</label>
                <div class="col-sm-8">
                    <input name="ImageUrl" th:field="*{ImageUrl}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">线路id：</label>
                <div class="col-sm-8">
                    <input name="LineID" th:field="*{LineID}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "nanjing/SubStation";
        $("#form-SubStation-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-SubStation-edit').serialize());
            }
        }
    </script>
</body>
</html>