// File:		SI_YT_3.inc
// Product:	SIMATIC PDM
// Description:	Trendviewer #3
//  $Revision:   1.2  $	
//  $Date:   Nov 7 2003 10:48:30  $
// Copyright (C) Siemens AG (1998 - 2003). All Rights Reserved



// Parameter: YT31_VALUE,  YT31_URV,  YT31_LRV,  YT31_LABEL
// Parameter: YT32_VALUE,  YT32_URV,  YT32_LRV,  YT32_LABEL
// Parameter: YT33_VALUE,  YT33_URV,  YT33_LRV,  YT33_LABEL
// Parameter: YT34_VALUE,  YT34_URV,  YT34_LRV,  YT34_LABEL



MENU OnlineWindow_yt_3
{
	LABEL	YT31_LABEL;
	ITEMS
	{
		Page_process_yt_3
	}
}

MENU Page_process_yt_3
{
	LABEL	[menu_yt_diagram];
	ITEMS
	{

#ifdef YT31_LABEL
		Val_YT31,
#endif

#ifdef YT32_LABEL
		Val_YT32,
#endif

#ifdef YT33_LABEL
		Val_YT33,
#endif

#ifdef YT34_LABEL
		Val_YT34,
#endif

		OCX_out_display_yt_3
	}
}

#ifdef YT31_LABEL
MENU Val_YT31
{
	LABEL	YT31_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT31_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT32_LABEL
MENU Val_YT32
{
	LABEL	YT32_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT32_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT33_LABEL
MENU Val_YT33
{
	LABEL	YT33_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT33_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT34_LABEL
MENU Val_YT34
{
	LABEL	YT34_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT34_VALUE	(READ_ONLY)
	}
}
#endif

MENU OCX_out_display_yt_3					// OCX-Control 2
{
	LABEL	[menu_yt_diagram] ;
	STYLE	"PDMTVPROXY.PDMTVProxyCtrl.1";	// Name, unter dem das OCX in Windows registriert ist
	ITEMS
	{
		OCX_ProfilNum_yt_3,					// Profil-Nummer

#ifdef YT31_LABEL
		OCX_out_display_31					// 1. Kurve
#endif

#ifdef YT32_LABEL
		OCX_out_display_32,					// 2. Kurve
#endif

#ifdef YT33_LABEL
		OCX_out_display_33					// 3. Kurve
#endif

#ifdef YT34_LABEL
		OCX_out_display_34					// 4. Kurve
#endif

		OCX_UserSettings_yt_3				// Für Speicherung von Settings, die vom Benutzer zur Laufzeit geändert wurden
	}
}

#ifdef YT31_LABEL
MENU OCX_out_display_31						// 1. Kurve im OCX-Control yt
{
	LABEL	YT31_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT31_VALUE	(READ_ONLY),
		YT31_LRV	(READ_ONLY),
		YT31_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT32_LABEL
MENU OCX_out_display_32						// 2. Kurve im OCX-Control yt
{
	LABEL	YT32_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT32_VALUE	(READ_ONLY),
		YT32_LRV	(READ_ONLY),
		YT32_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT33_LABEL
MENU OCX_out_display_33						// 3. Kurve im OCX-Control yt
{
	LABEL	YT33_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT33_VALUE	(READ_ONLY),
		YT33_LRV	(READ_ONLY),
		YT33_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT34_LABEL
MENU OCX_out_display_34						// 1. Kurve im OCX-Control yt
{
	LABEL	YT34_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT34_VALUE	(READ_ONLY),
		YT34_LRV	(READ_ONLY),
		YT34_URV	(READ_ONLY)
	}
}
#endif

VARIABLE OCX_ProfilNum_yt_3					// Profil-Variable für OCX yt
{
	LABEL	"ProfilID";
	STYLE	"OCX_PROPERTY";
	CLASS	LOCAL;
	TYPE	INTEGER(2)
	{
		DEFAULT_VALUE	1004;				// Profil 1004 : y-t mit Farbwahl
	}
	HANDLING    READ;
}

VARIABLE OCX_UserSettings_yt_3				// Für Speicherung von Settings, die vom Benutzer zur Laufzeit geändert wurden
{
	LABEL	"UserSettings";
	STYLE	"OCX_PROPERTY";
	CLASS	LOCAL;
	TYPE	ASCII (1000)
	{
		DEFAULT_VALUE	"";
	}
	HANDLING	READ & WRITE;
}

