Skip to content
Snippets Groups Projects
Surveillance.txt 655 B
class Surveillance {
    String Location;
    String Direction;
    String Brightness;
    Byte Data;

    class Surveillance(Object input){
	recordVideo(input);
	storeVideo(Data);
    }
    Byte recordVideo(Object input){
	Location = input.Location
	Direction = input.Direction
	Brightness = input.Brightness
	
	process the Location and Direction information to find
	the correct survillences and point the survillences to
	the site that it wish to record

	using the Brightness to determine if night vision mode
	is needed
	
	Data = input.Data
    }
    void storeVideo(byte Data){
    	process the data and send it to the database
	for storage
    }
}