Loading…
DD文件所在目录:
DD文件名称: Sample1_r2.ddl
DD文件类型: 源码文件

  • /*****************************************************************************
  • *
  • * File: test DD for installation of new items
  • * Version: 4.1.0
  • * Date: 10sep12
  • *
  • *****************************************************************************
  • * Copyright (c) 2010, HART Communication Foundation, All Rights Reserved
  • *****************************************************************************
  • *
  • * Description: This file is a sample DD intended to demonstrate the
  • * development of a simple pressure transmitter with temperature
  • * compensation DD. It supports HART 6, Universal Commands
  • * and a few Common Practice Commands.
  • *
  • *****************************************************************************
  • */
  • /*****************************************************************************
  • * The manufacturer line
  • *****************************************************************************
  • */
  • // Replace following line with your manufacturer and device type as defined in Devices.cfg
  • MANUFACTURER HCF, DEVICE_TYPE _SAMPLE1_WIRE, DEVICE_REVISION 1, DD_REVISION 1
  • /*****************************************************************************
  • * Include Files
  • *****************************************************************************
  • */
  • #include "macros.h"
  • #include "methods.h"
  • /*****************************************************************************
  • * Definitions (#define, typedef, enum)
  • *****************************************************************************
  • */
  • /*****************************************************************************
  • * Common Tables
  • */
  • IMPORT STANDARD _TABLES, DEVICE_REVISION 20, DD_REVISION 4
  • {
  • VARIABLE device_status;
  • VARIABLE units_code;


请登录以获得完整内容