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



// Parameter: YT61_VALUE,  YT61_URV,  YT61_LRV,  YT61_LABEL
// Parameter: YT62_VALUE,  YT62_URV,  YT62_LRV,  YT62_LABEL
// Parameter: YT63_VALUE,  YT63_URV,  YT63_LRV,  YT63_LABEL
// Parameter: YT64_VALUE,  YT64_URV,  YT64_LRV,  YT64_LABEL



MENU OnlineWindow_yt_6
{
	LABEL	YT61_LABEL;
	ITEMS
	{
		Page_process_yt_6
	}
}

MENU Page_process_yt_6
{
	LABEL	[menu_yt_diagram];
	ITEMS
	{

#ifdef YT61_LABEL
		Val_YT61,
#endif

#ifdef YT62_LABEL
		Val_YT62,
#endif

#ifdef YT63_LABEL
		Val_YT63,
#endif

#ifdef YT64_LABEL
		Val_YT64,
#endif

		OCX_out_display_yt_6
	}
}

#ifdef YT61_LABEL
MENU Val_YT61
{
	LABEL	YT61_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT61_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT62_LABEL
MENU Val_YT62
{
	LABEL	YT62_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT62_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT63_LABEL
MENU Val_YT63
{
	LABEL	YT63_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT63_VALUE	(READ_ONLY)
	}
}
#endif

#ifdef YT64_LABEL
MENU Val_YT64
{
	LABEL	YT64_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT64_VALUE	(READ_ONLY)
	}
}
#endif

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

#ifdef YT61_LABEL
		OCX_out_display_61					// 1. Kurve
#endif

#ifdef YT62_LABEL
		OCX_out_display_62,					// 2. Kurve
#endif

#ifdef YT63_LABEL
		OCX_out_display_63					// 3. Kurve
#endif

#ifdef YT64_LABEL
		OCX_out_display_64					// 4. Kurve
#endif

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

#ifdef YT61_LABEL
MENU OCX_out_display_61						// 1. Kurve im OCX-Control yt
{
	LABEL	YT61_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT61_VALUE	(READ_ONLY),
		YT61_LRV	(READ_ONLY),
		YT61_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT62_LABEL
MENU OCX_out_display_62						// 2. Kurve im OCX-Control yt
{
	LABEL	YT62_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT62_VALUE	(READ_ONLY),
		YT62_LRV	(READ_ONLY),
		YT62_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT63_LABEL
MENU OCX_out_display_63						// 3. Kurve im OCX-Control yt
{
	LABEL	YT63_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT63_VALUE	(READ_ONLY),
		YT63_LRV	(READ_ONLY),
		YT63_URV	(READ_ONLY)
	}
}
#endif

#ifdef YT64_LABEL
MENU OCX_out_display_64						// 1. Kurve im OCX-Control yt
{
	LABEL	YT64_LABEL;
	STYLE	"OCX_DYNAMIC_YT";
	ITEMS
	{
		YT64_VALUE	(READ_ONLY),
		YT64_LRV	(READ_ONLY),
		YT64_URV	(READ_ONLY)
	}
}
#endif

VARIABLE OCX_ProfilNum_yt_6					// 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_6				// 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;
}

