- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
{
//конструктор
public MotionEventsController(VideoServer server, MSO2Rotator rotator, Log log, Button recordButton)
{
_server = server;
_rotator = rotator;
_log = log;
_recordButton = recordButton;
}
public void Record(MotionDetectorFilter filter, MotionObjectsArgs movingObjects)
{
_server.StartRecord();
IsRecording = true;
_recordButton.BackColor = Color.Red;
switch (_server.Name)
{
case ServerNames.ColorServer:
_log(Resources.ColorStartRecord, String.Empty);
break;
case ServerNames.BwServer:
_log(Resources.BWStartRecord, String.Empty);
break;
case ServerNames.ThermalServer:
_log(Resources.ThermalStartRecord, String.Empty);
break;
}
}
}
Vindicar 05.09.2012 11:03 # 0
kovyl2404 05.09.2012 11:06 # +2
Vasiliy 05.09.2012 11:43 # 0
Vindicar 06.09.2012 09:06 # +5