


//	File	:	resource.h
//	Description	:	header file used for Windows resource file
//	Version	:	1.7   2002.11.17
//	Author	:	W.B. Peterson
//	Revisions	:	
//Copyright (c) 2002 American Gas Association

//{{NO_DEPENDENCIES}}

//Microsoft Developer Studio generated include file.
//Used by aga10win.rc

//

// Next default values for new objects	
//	
#ifdef APSTUDIO_INVOKED	
#ifndef APSTUDIO_READONLY_SYMBOLS	
#define _APS_NO_MFC	1
#define _APS_NEXT_RESOURCE_VALUE	105
#define _APS_NEXT_COMMAND_VALUE	40003
#define _APS_NEXT_CONTROL_VALUE	1018
#define _APS_NEXT_SYMED_VALUE	101
#endif	
#endif	



//	File	:	aga10win.rc
//	Description	:	resource script for aga10win’s interface
//	Version	:	1.7   2002.11.17
//	Author	:	W.B. Peterson
//	Revisions	:	
//Copyright (c) 2002 American Gas Association

//Microsoft Developer Studio generated resource script.

//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.

//

#define APSTUDIO_HIDDEN_SYMBOLS #include "windows.h"

#undef APSTUDIO_HIDDEN_SYMBOLS #include "aga10win.h"

/////////////////////////////////////////////////////////////////////////////

#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////

// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////

//

//Icon
//

//Icon with lowest ID value placed first to ensure application icon

//remains consistent on all systems.




AGA10WIN	ICON	DISCARDABLE	"aga10win.ico"

/////////////////////////////////////////////////////////////////////////////

//
// Dialog

//

AGA10WIN DIALOGEX 0, 0, 575, 315

STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT

CAPTION "AGA 10 Example Program"

MENU IDR_MENU1
CLASS "aga10win"
FONT 8, "MS Sans Serif"
BEGIN

EDITTEXT	IDC_XIHE,55,15,44,14,ES_AUTOHSCROLL | WS_GROUP

EDITTEXT	IDC_XIH2,55,33,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIN2,55,51,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XICO2,55,69,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIH2S,55,87,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XIC1,55,105,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XIC2,55,123,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIC3,153,16,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIIC4,153,34,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XINC4,153,52,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XIIC5,153,70,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XINC5,154,89,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XINC6,154,107,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XINC7,154,125,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XINC8,259,16,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XINC9,259,34,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XINC10,259,52,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIAR,259,70,44,14,ES_AUTOHSCROLL
EDITTEXT	IDC_XIH2O,259,88,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XICO,259,106,44,14,ES_AUTOHSCROLL

EDITTEXT	IDC_XIO2,259,124,44,14
PUSHBUTTON	"Clear Mixture",IDC_CLEAR,47,149,60,20
EDITTEXT	IDC_PB,34,196,60,14,ES_AUTOHSCROLL
COMBOBOX	IDC_PB_U,98,197,60,44,CBS_DROPDOWNLIST | CBS_SORT |

WS_VSCROLL | WS_TABSTOP




EDITTEXT	IDC_TB,34,215,60,14,ES_AUTOHSCROLL

COMBOBOX	IDC_TB_U,98,216,60,44,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
EDITTEXT	IDC_PF,191,196,60,14,ES_AUTOHSCROLL
COMBOBOX	IDC_PF_U,254,196,60,44,CBS_DROPDOWNLIST | CBS_SORT |

WS_VSCROLL | WS_TABSTOP

EDITTEXT	IDC_TF,191,215,60,14,ES_AUTOHSCROLL
COMBOBOX	IDC_TF_U,255,215,60,44,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON	"Calculate",IDOK,137,282,50,20

PUSHBUTTON	"Initialize",IDRETRY,61,282,50,20

PUSHBUTTON	"Quit",IDCANCEL,213,282,50,20,WS_GROUP
GROUPBOX	"Composition (Mole Percent)",IDC_STATIC,5,3,322,175
LTEXT	"Helium",IDC_STATIC,21,18,28,8,NOT WS_GROUP
LTEXT	"Hydrogen",IDC_STATIC,21,36,32,8,NOT WS_GROUP

LTEXT	"Nitrogen",IDC_STATIC,21,55,28,8,NOT WS_GROUP

LTEXT	"CO2",IDC_STATIC,22,71,15,8,NOT WS_GROUP
LTEXT	"H2S",IDC_STATIC,22,89,15,8,NOT WS_GROUP
LTEXT	"Methane",IDC_STATIC,22,108,29,8,NOT WS_GROUP
LTEXT	"Ethane",IDC_STATIC,22,126,24,8,NOT WS_GROUP

LTEXT	"Propane",IDC_STATIC,116,18,28,8,NOT WS_GROUP

LTEXT	"i-Butane",IDC_STATIC,116,37,27,8,NOT WS_GROUP
LTEXT	"n-Butane",IDC_STATIC,116,55,30,8,NOT WS_GROUP
LTEXT	"i-Pentane",IDC_STATIC,116,72,31,8,NOT WS_GROUP
LTEXT	"n-Pentane",IDC_STATIC,115,92,34,8,NOT WS_GROUP

LTEXT	"n-Hexane",IDC_STATIC,115,110,32,8,NOT WS_GROUP

LTEXT	"n-Heptane",IDC_STATIC,115,128,34,8,NOT WS_GROUP
LTEXT	"n-Octane",IDC_STATIC,218,19,30,8,NOT WS_GROUP
LTEXT	"n-Nonane",IDC_STATIC,218,37,32,8,NOT WS_GROUP

LTEXT	"n-Decane",IDC_STATIC,218,55,32,8,NOT WS_GROUP

LTEXT	"Argon",IDC_STATIC,219,73,27,8,NOT WS_GROUP
LTEXT	"Water",IDC_STATIC,219,91,23,8,NOT WS_GROUP
LTEXT	"CO",IDC_STATIC,219,109,11,8,NOT WS_GROUP
LTEXT	"O2",IDC_STATIC,219,128,24,8,NOT WS_GROUP

LTEXT	"TOTAL",IDC_STATIC,218,147,24,8,NOT WS_GROUP

LTEXT	"Static",IDC_TOTAL,259,146,44,12,SS_SUNKEN | NOT
WS_GROUP
GROUPBOX	"Gas Temperature and Absolute Pressure",IDC_STATIC,6,182,
322,56

LTEXT	"Pb",IDC_STATIC,12,199,10,8




LTEXT	"Tb",IDC_STATIC,11,217,10,8

LTEXT	"Pf",IDC_STATIC,177,199,8,8
LTEXT	"Tf",IDC_STATIC,176,217,8,8
GROUPBOX	"Calculation Results",IDC_STATIC,334,3,234,306
LTEXT	"Speed of Sound",IDC_STATIC,348,24,52,8

LTEXT	"Zf",IDC_STATIC,348,173,8,8

LTEXT	"Zb",IDC_STATIC,348,158,10,8
LTEXT	"Fpv",IDC_STATIC,348,187,13,8
LTEXT	"Cp (real gas)",IDC_STATIC,348,232,40,8
LTEXT	"Cv (real gas)",IDC_STATIC,348,248,40,8

LTEXT	"Cp/Cv",IDC_STATIC,348,264,22,8

LTEXT	"Isentropic Exponent",IDC_STATIC,348,53,67,8
LTEXT	"Mass Density",IDC_STATIC,348,113,43,8
LTEXT	"Molar Density",IDC_STATIC,348,98,44,8
LTEXT	"Specific Enthalpy",IDC_STATIC,348,68,56,8

LTEXT	"Specific Entropy",IDC_STATIC,348,83,52,8

LTEXT	"Enthalpy (ideal gas)",IDC_STATIC,348,280,62,8
LTEXT	"Cp (ideal gas)",IDC_STATIC,348,216,44,8
LTEXT	"Molar Mass",IDC_STATIC,348,201,37,8
LTEXT	"0",IDC_SOS,422,24,50,8,NOT WS_GROUP

LTEXT	"0",IDC_H,422,69,50,8,NOT WS_GROUP

LTEXT	"0",IDC_S,422,83,50,8,NOT WS_GROUP
LTEXT	"0",IDC_DF,422,99,60,8,NOT WS_GROUP
LTEXT	"0",IDC_RHOF,422,113,55,8,NOT WS_GROUP
LTEXT	"0",IDC_ZB,422,157,50,8,NOT WS_GROUP

LTEXT	"0",IDC_ZF,422,171,50,8,NOT WS_GROUP

LTEXT	"0",IDC_FPV,422,186,50,8,NOT WS_GROUP
LTEXT	"0",IDC_MRX,422,201,50,8,NOT WS_GROUP
LTEXT	"0",IDC_CPI,422,216,50,8,NOT WS_GROUP

LTEXT	"0",IDC_HO,422,280,50,8,NOT WS_GROUP

LTEXT	"0",IDC_CP,422,232,50,8,NOT WS_GROUP
LTEXT	"0",IDC_CV,422,248,50,8,NOT WS_GROUP
LTEXT	"0",IDC_K,422,264,50,8,NOT WS_GROUP
LTEXT	"0",IDC_KAPPA,422,53,50,8,NOT WS_GROUP

LTEXT	"moles/dm3",IDC_STATIC,483,98,32,8

LTEXT	"kJ/kg-K",IDC_STATIC,483,216,26,8
LTEXT	"kJ/kg",IDC_STATIC,483,280,20,8
LTEXT	"RD (ideal gas)",IDC_STATIC,348,128,46,8
LTEXT	"RD (real gas)",IDC_STATIC,348,143,42,8

LTEXT	"0",IDC_RD_IDEAL,422,128,50,8,NOT WS_GROUP




LTEXT	"0",IDC_RD_REAL,422,143,50,8,NOT WS_GROUP

LTEXT	"Press Initialize Button to Begin",IDC_LSTATUS,106,259,
107,8
LTEXT	"kJ/kg-K",IDC_STATIC,483,232,26,8
LTEXT	"kJ/kg-K",IDC_STATIC,483,248,26,8

LTEXT	"C*",IDC_STATIC,348,39,10,8

LTEXT	"0",IDC_CSTAR,422,39,58,8
COMBOBOX	IDC_SOS_U,482,21,80,43,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
COMBOBOX	IDC_RHOF_U,482,111,80,44,CBS_DROPDOWNLIST | CBS_SORT |

WS_VSCROLL | WS_TABSTOP

COMBOBOX	IDC_ENTHALPY_U,482,66,80,40,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
COMBOBOX	IDC_ENTROPY_U,482,82,80,37,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP

GROUPBOX	"Current Status",IDC_STATIC,5,247,322,27

PUSHBUTTON	"Normalize",IDC_NORMALIZE,118,149,60,20
END


#ifdef APSTUDIO_INVOKED

/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE

BEGIN "resource.h\0"

END

2 TEXTINCLUDE DISCARDABLE

BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n" "#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" "#include ""aga10win.h""\r\n"
"\0"
END





3 TEXTINCLUDE DISCARDABLE

BEGIN "\r\n" "\0"

END

#endif	// APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////

//

// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED

GUIDELINES DESIGNINFO DISCARDABLE

BEGIN
"AGA10WIN", DIALOG
BEGIN

LEFTMARGIN, 5 RIGHTMARGIN, 568 BOTTOMMARGIN, 309
END
END
#endif	// APSTUDIO_INVOKED


#ifndef _MAC

/////////////////////////////////////////////////////////////////////////////
//

// Version
//

VS_VERSION_INFO VERSIONINFO FILEVERSION 1,7,0,0 PRODUCTVERSION 1,7,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG

FILEFLAGS 0x21L #else




FILEFLAGS 0x20L #endif

FILEOS 0x40004L
FILETYPE 0x1L FILESUBTYPE 0x0L

BEGIN

BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN

VALUE "Comments", "Post Ballot Version\0"

VALUE "CompanyName", "American Gas Association\0" VALUE "FileDescription", "aga10win\0"
VALUE "FileVersion", "1, 7, 0, 0\0"
VALUE "InternalName", "aga10win\0"

VALUE "LegalCopyright", "Copyright © 2002 American Gas Association\0" VALUE "LegalTrademarks", "\0"

VALUE "OriginalFilename", "aga10win.exe\0" VALUE "PrivateBuild", "\0"

VALUE "ProductName", "aga10win\0" VALUE "ProductVersion", "1, 7, 0, 0\0"
VALUE "SpecialBuild", "2002.11.17 Build\0"
END
END
BLOCK "VarFileInfo"
BEGIN

VALUE "Translation", 0x409, 1200
END
END

#endif	// !_MAC


/////////////////////////////////////////////////////////////////////////////

//

// Menu
//

IDR_MENU1 MENU DISCARDABLE

BEGIN




POPUP "&File"

BEGIN
MENUITEM "&Open...",	CM_FILEOPEN
MENUITEM "&Save...",	CM_FILESAVE
MENUITEM "Save &As...",	CM_FILESAVEAS

MENUITEM "E&xit",	IDCANCEL

END
POPUP "&Help"
BEGIN
MENUITEM "&About",	CM_HELPABOUT

END

END


/////////////////////////////////////////////////////////////////////////////

//

// String Table
//

STRINGTABLE DISCARDABLE

BEGIN

KILOPASCAL	"kilopascals"
MEGAPASCAL	"megapascals"
END

STRINGTABLE DISCARDABLE

BEGIN
PSI	"PSI"
KELVIN	"Kelvin"

CELSIUS	"Celsius"

RANKINE	"Rankine"
FAHRENHEIT	"Fahrenheit"
KGPERCUBICMETRE	"kg per cubic metre"
LBMPERCUBICFOOT	"lbm per cubic foot"

METREPERSECOND	"metres per second"

FOOTPERSECOND	"feet per second"
KJPERKG	"kJ per kg"
BTUPERLBM	"Btu per lbm"
KJPERKGK	"kJ per kg-K"

BTUPERLBMF	"Btu per lbm-F"




END

#endif	// English (U.S.) resources

/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED

/////////////////////////////////////////////////////////////////////////////
//

// Generated from the TEXTINCLUDE 3 resource.

//


/////////////////////////////////////////////////////////////////////////////

#endif	// not APSTUDIO_INVOKED





