/*------------------------------------------------------------------------*/
/* Copyright (C) SIEMENS CORP., 2018 All rights reserved.*/
/* All rights reserved.                                                   */
/* Redistribution and use in source and binary forms, with or without     */
/* modification, are permitted provided that the following conditions     */
/* are met:                                                               */
/* 1. Redistributions of source code must retain the above copyright      */
/* notice, this list of conditions and the following disclaimer.          */
/* 2. Redistributions in binary form must reproduce the above copyright   */
/* notice, this list of conditions and the following disclaimer in the    */
/* documentation and/or other materials provided with the distribution.   */
/* 3. Neither the name of the copyright holder nor the names of its       */
/* contributors may be used to endorse or promote products derived from   */
/* this software without specific prior written permission.               */
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS    */
/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT      */
/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS      */
/* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE         */
/* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,   */
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,   */
/* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS  */
/* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)                    */
/* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,    */
/* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING  */
/* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE     */
/* POSSIBILITY OF SUCH DAMAGE.                                            */
/*------------------------------------------------------------------------*/
/*------------------------------------------------------------------------*/
/* Description: A few data for configuration of the simulated device.     */
/*              THIS MODULE HAS TO BE MODIFIED BY THE PNIO USER.          */
/*                                                                        */
/*------------------------------------------------------------------------*/

/***************************************************/
/* PNIO_ANNOTATION entries                         */
/***************************************************/
#include <pniousrd.h>
/* CP1626 */
#define ANNOT_CP1626_NAME       "S7-PC"           /* device type (String 25) */
#define ANNOT_CP1626_ORDERID    "6GK1 162-6AA01"  /* Order Id    (String 20) */
#define ANNOT_CP1626_HW_REV     2                 /* HwRevision  (short)     */
#define ANNOT_CP1626_SW_PREFIX  'V'               /* SwRevisionPrefix (char) */
#define ANNOT_CP1626_SW_REV_1   1                 /* SwRevision1 (short)     */
#define ANNOT_CP1626_SW_REV_2   0                 /* SwRevision2 (short)     */
#define ANNOT_CP1626_SW_REV_3   0                 /* SwRevision3 (short)     */

/* CP1616 */
#define ANNOT_CP1616_NAME       "S7-PC"           /* device type (String 25) */
#define ANNOT_CP1616_ORDERID    "6GK1 161-6AA02"  /* Order Id    (String 20) */
#define ANNOT_CP1616_HW_REV     9                 /* HwRevision  (short)     */
#define ANNOT_CP1616_SW_PREFIX  'V'               /* SwRevisionPrefix (char) */
#define ANNOT_CP1616_SW_REV_1   2                 /* SwRevision1 (short)     */
#define ANNOT_CP1616_SW_REV_2   7                 /* SwRevision2 (short)     */
#define ANNOT_CP1616_SW_REV_3   2                 /* SwRevision3 (short)     */

/* CP1604 */
#define ANNOT_CP1604_NAME       "S7-PC"           /* device type (String 25) */
#define ANNOT_CP1604_ORDERID    "6GK1 160-4AA01"  /* Order Id    (String 20) */
#define ANNOT_CP1604_HW_REV     8                 /* HwRevision  (short)     */
#define ANNOT_CP1604_SW_PREFIX  'V'               /* SwRevisionPrefix (char) */
#define ANNOT_CP1604_SW_REV_1   2                 /* SwRevision1 (short)     */
#define ANNOT_CP1604_SW_REV_2   7                 /* SwRevision2 (short)     */
#define ANNOT_CP1604_SW_REV_3   2                 /* SwRevision3 (short)     */

extern PNIOD_ANNOTATION g_annot_selected; /* selected Annotation */

extern PNIO_UINT8*      g_annot_serial;

#define MAX_SERIAL_LENGTH 16
