/*
 * ********************************************************************************************************************
 *
 *                      :*$@@%$*:                         ;:                ;;    ;;
 *                    :@@%!  :!@@%:                       %!             ;%%@@%$ =@@@@@@@%;     @%@@@%%%%@@@@@
 *                   :@%;       :$=                       %%$$$%$$         ;$$  ;$@=   !@$
 *                   =@!                                  %!              @ $=;%   !@@@%:      !$$$$$$$$$$$$$$=
 *                   =@*                                  %!              @ $= % %@=   =%@!      %=
 *              *$%%! @@=        ;=$%%%$*:                %!              @ $= % =%%%%%%@$      *%:         =%
 *            %@@!:    !@@@%=$@@@@%!  :*@@$:              %!              @ $= % $*     ;@      @*          :%*
 *          ;@@!          ;!!!;:         ;@%:      =======@%========*     @ $$ % $%*****$@     :@$=*********=@$
 *          $@*   ;@@@%=!:                *@*
 *          =@$    ;;;!=%@@@@=!           =@!
 *           %@$:      =@%: :*@@@*       %@=                    Copyright (c) 2016-2019.  北京上格云技术有限公司
 *            ;%@@$=$@@%*       *@@@$=%@@%;
 *               ::;::             ::;::                                              All rights reserved.
 *
 * ********************************************************************************************************************
 */

package cn.sagacloud.server.algorithm.controllers.relation

import cn.sagacloud.server.algorithm.models.responses.CheckFloorMissResponse
import cn.sagacloud.server.algorithm.models.responses.CheckFloorSequenceResponse
import cn.sagacloud.server.algorithm.models.responses.CheckGridResponse
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import org.slf4j.LoggerFactory
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

/**
 * 楼层检查接口
 *
 * @author 庞利祥
 */
@Api(tags = ["检查-楼层审核"])
@RestController
@RequestMapping("/check")
class CheckController {
    companion object {
        // 日志
        private val logger = LoggerFactory.getLogger(CheckController::class.java)
    } // Companion object

    /**
     * 楼层缺失检查
     */
    @ApiOperation(value = "楼层缺失检查", notes = "")
    @PostMapping(value = ["/floor-miss"])
    fun floorMiss(): CheckFloorMissResponse {
        return CheckFloorMissResponse()
    } // Function floorMiss()

    /**
     * 楼层顺序号检查
     */
    @ApiOperation(value = "楼层缺失检查", notes = "")
    @PostMapping(value = ["/floor-sequence"])
    fun floorSequence(): CheckFloorSequenceResponse {
        return CheckFloorSequenceResponse()
    } // Function floorSequence()

    /**
     * 轴网检查
     */
    @ApiOperation(value = "轴网检查", notes = "")
    @PostMapping(value = ["/grid"])
    fun grid(): CheckGridResponse {
        return CheckGridResponse()
    } // Function floorSequence()
} // Class CheckController