VB.NET覚書

VB.NETの覚書
[個人メモ] [仕事メモ] [アイデア] [Ruby]
[TIPS] [対応表] [コメント書き方] [.NET Tips] [VB中学校] [VB.NET の入門サイト] [VB.NET コーディング標準 ] [VBレスキュー] [NonSoft]

2017-05-24

パラメータファイルXML

<?xml version="1.0" encoding="utf-8"?>
<xRoot>
	<xDATA ID="SYSTEM_INFO">
		<PRDUCT_NAME>RS-415-0005</PRDUCT_NAME>
		<PARA_VERSION>1.00</PARA_VERSION>
		<STAGE_NO>101</STAGE_NO>
		<STAGE_NAME>101</STAGE_NAME>
	</xDATA>
	<xDATA ID="FILEPATH">
		<OK_DATA>C:\DATA\RS-415-0005\101\ok.dat</OK_DATA>
		<OK_BACKUP_DATA>C:\DATA_BACKUP\RS-415-0005\101\ok.dat</OK_BACKUP_DATA>
		<NG_DATA>C:\DATA\RS-415-0005\101\ng.dat</NG_DATA>
		<NG_BACKUP_DATA>C:\DATA_BACKUP\RS-415-0005\101\ng.dat</NG_BACKUP_DATA>
	</xDATA>
	<xDATA ID="OPTION">
		<DATA_SAVE>1</DATA_SAVE>
		<NG_DATA_SAVE>1</NG_DATA_SAVE>
		<NG_RETRY>1</NG_RETRY>
		<NG_STOP>1</NG_STOP>
	</xDATA>
	<xDATA ID="COM">
		<COM_PORT ID="1">
			<COM_NO>1</COM_NO>
			<COMMENT>製品通信用 RS-232C ポート番号</COMMENT>
		</COM_PORT>
		<COM_PORT ID="2">
			<COM_NO>2</COM_NO>
			<COMMENT>DMM 34401A用 RS-232C ポート番号</COMMENT>
		</COM_PORT>
	</xDATA>
	<xDATA ID="DB">
		<DB ID="1">
			<DB_PATH>C:\DATA\RS-415-0005\DB\IDDATA.mdb</DB_PATH>
			<COMMENT>管理DB</COMMENT>
		</DB>
	</xDATA>
	<xDATA ID="GPIB">
		<GPIB ID="1">
			<ADDRESS>1</ADDRESS>
			<COMMENT>System Supply</COMMENT>
		</GPIB>
		<GPIB ID="2">
			<ADDRESS>2</ADDRESS>
			<COMMENT>Digital Multi Meter 1</COMMENT>
		</GPIB>
		<GPIB ID="3">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="4">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="5">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="6">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="7">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="8">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="9">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="10">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="11">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="12">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
		<GPIB ID="13">
			<ADDRESS>0</ADDRESS>
			<COMMENT>Not use</COMMENT>
		</GPIB>
	</xDATA>
	<xDATA ID="INSPECTION">
		<INSPECTION ID="1">
			<LOWER_LIMIT>1</LOWER_LIMIT>
			<HIGHER_LIMIT>1</HIGHER_LIMIT>
			<ITEM>初期設定</ITEM>
			<UNIT>-</UNIT>
		</INSPECTION>
		<INSPECTION ID="2">
			<LOWER_LIMIT>1</LOWER_LIMIT>
			<HIGHER_LIMIT>1</HIGHER_LIMIT>
			<ITEM>初期設定</ITEM>
			<UNIT>-</UNIT>
		</INSPECTION>
		<INSPECTION ID="3">
			<LOWER_LIMIT>0</LOWER_LIMIT>
			<HIGHER_LIMIT>1</HIGHER_LIMIT>
			<ITEM>K1</ITEM>
			<UNIT>Ω</UNIT>
		</INSPECTION>
	</xDATA>
</xRoot>


トラックバック - http://sub.g.hatena.ne.jp/garyo/20170524