#!/bin/bash
#
#FilterMonitorUsage ver1.1.1
#
# usage: 
#	 FilterMonitorUsage
# 
# Description
# 	Display usage
#
#Copyright (C) 2012 NEC Corporation.
#If you tamper with the source, the behavior of the FilterMonitor is not guaranteed.
############################################################################################################

FilterMonitorUsage()
{
    cat <<_EOT_
-calib
	Initializing the sensors in the machine.

-detect
	Detecting the AirFlow.

-status
	Displaying the filter's status.

-set interval DayofWeek1 DayofWeek2 time
	Setting the date and time of the AirFlow detection. 
	Every parameters you have to enter to set. 

	Interval:Select the interval of the detecting AirFlow.
	0   :everyday
	1   :everyweek
	2-4 :2-4 weeks

	DayofWeek:Select the day of week from the below.  when you choose
	``1 or ``2-4 in the interval. If you choose ``0 in the 
	interval, this parameter is invalid.  When you select ``1 in the
	interval, you are able to choose two days of the week. 
	0 : Sunday
	1 : Monday
	2 : Tuesday
	3 : Wednesday
	4 : Thursday
	5 : Friday
	6 : Saturday
	7 : none

	time:Set HHMM which the time of detecting AirFlow.

-save filename
	Saving the setting to the file.

-restore filename	
	Restoring the setting from the file.

-get
	Display the setting of detecting AirFlow.

-graph sensornumber interval
	Showing the graph of each sensor in the machine.

	sensornumber   : the name of the sensor to display
	interval       : the interval of the graph. Select from the below.
	w1             : a week
	m1 or m3 or m6 : a month or 3 months or 6 months
	y1 or y3 or y5 : a year or 3 years or 5 years

-test threshold:
	Showing test(demo) mode. 
	threshold: the value to detect the filter clogged for test mode
		   Enter @ to use the default value in SKU file.

-log Level
	Set the trace log level.
	Level : Select the log level from the below
	0:Display ``INFO,``DEBUG logs.
	1:Display ``INFO logs.

-h
	Display Filter Monitor's Command usage.
_EOT_
}
