diff --git a/lib/1.json b/lib/1.json index 1b5bd95..8fa5d14 100644 --- a/lib/1.json +++ b/lib/1.json @@ -1 +1 @@ -{"Label ID":"Label Content","___ENABLED__":"Enabled","__ADD__":"Add","__DISABLED__":"Disabled","__LOGIN__":"Login","__LOGIN_ID__":"Login ID","__LOGOUT__":"Logout","__NARROWER__":"Narrower","__OFFLINE__":"Offline","__ONLINE__":"Online","__PAGEWASGENIN__":"The page was generated in","__PASSWORD__":"Password","__PTZ_CONTROL__":"PTZ Control","__SECOND__":"second","__SECONDS__":"seconds","__SSl_DOWNLOAD__":"Please Download our Root CA certificate and Install it into your System (see instructions below)","__SSl_NO_CERT__":"The Working Certificate for %IP% Not Installed.","__SSl_WELCOME__":"SSL Certificates required for security","__UPLOAD__":"Upload","__WIDER__":"Wider","__ZERO_SHIFT__":"Zero Shift","_ACC_LOG_":"Security Log","_ACCESS_ADMIN_":"Admin","_ACCESS_DENIED_":"Access Denied","_ACCESS_FACTORY_":"Factory Defined","_ACCESS_LEVEL_":"Access Level","_ACCESS_LOGIN_":"Access Login","_ACCESS_MINIMAL_":"Minimal Access","_ACCESS_OPERATOR_":"Operator","_ACCESS_PASSWORD_":"Access Password","_ACTION_":"Action","_ADD_":"Add","_ADD_CAM_DIAL_TTL_":"Add IP Camera","_ADD_CAMERA2SITE_":"Add Camera to Site","_ADD_CONNECTION_":"Add Connection","_ADD_E2U_DIAL_TTL_":"Add Ethernet To Serial Adapter","_ADD_EVT_FILTER_":"Add Event Filter","_ADD_FILTER_":"Add Filter","_ADD_IP_CAMERA_":"Add IP Camera","_ADD_MEDIA_SERVER_":"Add Media Server","_ADD_MODULE_":"Add Module","_ADD_NEW_PHN_":"Add New Phone Number","_ADD_NEW_WTR_":"Add New Record","_ADD_REMOTE_UART_":"Add Remote UART","_ADD_USER_":"Add User","_ADM_SETTINGS_":"Admin Settings","_ADMIN_":"Admin","_ADV_TAB_":"Advanced Settings","_AJX_REQFAILURE_":"Error: AJAX","_ALARMED_":"Alarmed","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Analogue Video Sources","_APLY_DBBACKUP_":"Restore","_APP_TITLE_":"TTIDS","_APPLICA_MNGMNT_":"Application Settings","_APPLY_CHANGES_":"Apply Changes","_APPLY_SETTINGS_":"Apply Settings","_AS_MODULE_":"Add Server Module","_ASSIGN_CAMERA_":"Assign Camera","_AUTH_MODE_0_":"Authorization Mode","_AXIS_ROT_":"Axis Rotation","_AZIMUTH_":"Azimuth","_BACKUP_SETTINGS_":"Backup\/Restore","_BOT_PIC_BOUND_":"Bottom Picture Boundary (pixels)","_BOTTOM_SENSOR_":"Bottom Sensor","_BROWSE_":"Browse","_BTN_CLR_AHIST_":"Clear All History","_BTN_CLR_SELECTED_":"Clear Selected","_BUSY_":"Busy","_CAC_TAB_":"Credentials","_CALL_ONLY_":"Call Only","_CAM_AH_TIME_":"Time After Alarm","_CAM_AH_TOKEN_":"Home Preset Token","_CAM_ASS_LIST_":"Assigned Cameras","_CAM_AUTO_HOMING_":"Enable Automatic Home Return","_CAM_CUSTOMZ_":"Custom Zoom","_CAM_DET_LIST_":"Detected Cameras","_CAM_FIXEDZ_":"Fixed Zoom","_CAM_FOCALL_":"Focal Length","_CAM_IP_ADDRESS_":"Camera IP Address","_CAM_LABEL_":"Camera Label","_CAM_LENS_SETTINGS_":"Lens Settings","_CAM_MAP_NAME_":"Camera Name","_CAM_MAX_RANGE_":"Maximal Range","_CAM_PANANGS_":"Total Pan Angles","_CAM_PANMOD_":"Pan Model","_CAM_PROTO_ID_":"Camera ID","_CAM_PTZ_AAC_":"PTZ Auto Acceleration","_CAM_PTZ_MAC_":"PTZ Manual Acceleration","_CAM_SENS_SIZE_":"Sensor Size","_CAM_TILTANGS_":"Total Tilt Angles","_CAM_TILTMOD_":"Tilt Model","_CAM_TM_ALL_":"All Targets","_CAM_TM_ALL_FAR_":"All Far","_CAM_TM_ALL_NEAR_":"All Near","_CAM_TM_REGULAR_":"Regular","_CAM_TM_REVERSED_":"Reversed","_CAM_TM_RSHIFTED_":"Rev-Shifted","_CAM_TM_SHIFTED_":"Shifted","_CAM_TM_STRICT_VISIBLE_":"Strict Visible Targets","_CAM_TRIGGERING_MODE_":"Alarm Triggering Mode","_CAM_VARIOZ_":"Simple Zoom","_CAM_ZOOM_PERC_":"Zoom Percents","_CAM_ZOOMMO_":"Zoom Mode","_CAM_ZOOMR_":"Zoom Ratio","_CAMERA_MNGMNT_":"Cameras","_CANCEL_":"Cancel","_CHOOSEF_":"Choose File","_CLEAR_":"Clear","_CLEAR_ALARM_":"Clear Alarm","_CLEAR_SITE_":"Delete All","_CLOSE_":"Close","_CON_2_IP_CAM_":"Connect to IP Camera","_CONNECT_2_":"Connect to","_CONNECT_2_SEL_":"Connect To Selected","_CREA_ANAL_CAM_":"Create Analog Camera","_CREATE_CUSTOM_MAP_":"Create Custom Map","_CREATE_NEW_LBL_":"Create New","_CREATED_":"Created","_CTL_SERVER_NODE_":"Control Server Node","_CUSTOM_MSG_":"Custom Message","_DASHBOARD_":"Dashboard","_DATETIME_":"Time","_DB_BACKUP_":"Select Restore File","_DB_FILE_HAS_DOWNLOADED_":"Settings File has been Downloaded","_DB_STAT_CON_0_":"Connected ... Sync in progress","_DB_STAT_CON_UNA_":"Connection is Unavailable","_DB_STAT_STUDY_":"Analyzing","_DB_UPLOAD_BACKUP_":"Uploading Settings","_DC_AUTO_ENA_":"Enable Dry Contact Control","_DC_CONTROL_SET_":"Dry Contact Control","_DC_TIME_WINDOW_":"Dry Contact Time Window","_DC_WM_NC_":"Normally Close","_DC_WM_NO_":"Normally Open","_DC_WORK_MODE_":"Dry Contact Work Mode","_DEBUGGING_MODE_":"Debugging Mode","_DEL_SELECTED_":"Delete Selected","_DEL_USER_":"Remove User","_DELETE_":"Delete","_DESCRIPTION_":"Description","_DET_GENWORKS_":"General Tasks","_DET_IP_CAMERA_LST_":"Detected IP Cameras List","_DET_SENSITIVITY_":"Detection Sensitivity Profile","_DET_SET_WIDTH_T_":"Width Table","_DET_SETTINGS_":"Detection Settings","_DEV_ACK_BTN_":"Detection Bypass","_DEV_ACK_BTN2_":"Detections Bypassed","_DEV_ACK_START_":"Are you sure want to Bypass current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel detection Bypass?","_DEV_CTLPANEL_SHRT_":"Device Control","_DEV_ITYPE_FLD_":"Sensor Installed","_DEV_MISTMATT1_":"Please decide what to do","_DEV_PL_ANG_":"At an Angle","_DEV_PL_HORI_":"Horizontally","_DEV_PL_VERT_":"Vertically","_DEV_RANGE_FLD_":"Max Range","_DEV_TYPE_3D_":"3DLRF Sensor","_DEV_TYPE_ALS_":"ALS Sensor","_DEV_TYPE_FLD_":"Sensor Type","_DEV_TYPE_LFS_":"LFS Sensor","_DEV_TYPE_NPLS200_":"New PLS200 Sensor (Network)","_DEV_TYPE_PLS200_":"PLS200 Sensor","_DEV_TYPE_PLS360_":"PLS360 Sensor","_DEVICE_IP_":"IP Address","_DEVICE_NAME_":"Device Name","_DEVICE_PORT_":"Port","_DISCONNECTED_":"Disconnected","_DLG_ADD_3DSENS_":"Add 3DLRF Sensor","_DLG_ADD_ALS_":"Add ALS Sensor","_DLG_ADD_LFS_":"Add LFS Sensor","_DLG_ADD_PLS200_":"Add PLS200 Sensor","_DLG_ADD_PLS360_":"Add PLS360 Sensor","_DLG_CON_SEVER_NODE_":"Will be Connected to","_DOWNLOAD_SETTINGS_":"Download Current Settings","_DRAW_BACKGROUND_":"Draw Background","_EDIT_":"Edit","_EDIT_CUR_MAP_":"Edit Current Map","_EDIT_LRF3D_SETTINGS_":"Edit Lidar 3D Settings","_EDIT_USER_":"Edit User","_EDIT_USER_CRACCES_":"Edit User Credentials and Access","_EDIT_WTR_":"Edit Width Table Record","_EDT_CONNECTIONS_":"Edit Connections","_EDT_LOCATIONS_":"Edit Locations","_ELEVATION_":"Elevation","_EMBED_VIDEO_ENCODER_":"Embed Video Encoder Module","_ERROR_MSG_":"Error Message","_EVE_COMPRESS_QUA_":"Compression Quality","_EVE_DESC_LOO_":"Video Encoder Module provides Imaging Capture functionality to TTIDS server. Can capture Analog Video from USB grabber\/USB WebCam or Digital Stream from IP Camera","_EVE_DESC_SHO_":"LibAV(ffmpeg) Internal Video Encoder","_EVE_FONT_LBL_":"Font Type","_EVE_FONT_TS_":"Font Type","_EVE_LBL_FSCALE_":"Label Font Scale","_EVE_LBL_FTHICK_":"Label Font Thickness","_EVE_LBL_LINE_T_":"Label Line Type","_EVE_LBL_POSX_":"Label X","_EVE_LBL_POSY_":"Label Y","_EVE_LOGO_HEIGHT_":"Logo Height","_EVE_LOGO_POSX_":"Logo X","_EVE_LOGO_POSY_":"Logo Y","_EVE_LOGO_WIDTH_":"Logo Width","_EVE_PORT_":"Web Access Port","_EVE_SHOW_LBL_":"Show Label","_EVE_SHOW_LOGO_":"Show Custom Logo","_EVE_SHOW_TS_":"Show TimeStamp","_EVE_TRANSO_LBL_":"Transparent BG","_EVE_TRANSO_TS_":"Transparent BG","_EVE_TS_FSCALE_":"Font Scale","_EVE_TS_FTHICK_":"Font Thickness","_EVE_TS_LINE_T_":"Font Line Type","_EVE_TS_POSX_":"TimeStamp X","_EVE_TS_POSY_":"TimeStamp Y","_EVENT_":"Event","_EVENT_LOG_":"Event Log","_EVT_ARCHIVE_":"Events Archive","_EVT_MONITOR_":"Live Monitor","_EVT_MONITOR_IPI_":"SingleIPI Mode","_EVT_MSG_ACKOFF_":"Bypass Mask Deleted","_EVT_MSG_ACKON_":"Bypass Mask Added","_EVT_MSG_B2DTRG_":"Black 2D Target","_EVT_MSG_B3DTRG_":"Black 3D Target","_EVT_MSG_BUMO_":"Device Is BUSY","_EVT_MSG_COM_JAMED_":"Communication Jammed","_EVT_MSG_CONNECTED_":"Connected","_EVT_MSG_DISCONNECTED_":"Disconnected","_EVT_MSG_EVT_CLOMA_":"Event Closed Manual","_EVT_MSG_EVT_END_":"Event Ended","_EVT_MSG_EVT_START_":"Event Started","_EVT_MSG_FLIPO_":"Flip Complete","_EVT_MSG_MASKOFF_":"Turning Off Masking Area","_EVT_MSG_MASKON_":"Turning On Masking Area","_EVT_MSG_ROI_":"Point Of Interest","_EVT_MSG_SCANC_":"Scan Complete","_EVT_MSG_STUMO_":"Device Enters Into Study Mode","_EVT_MSG_TF_BSD_":"[LTF] Detection","_EVT_MSG_TF_CT_":"[TF] Check Target","_EVT_MSG_TF_DD_":"[LTF] Disabled","_EVT_MSG_TF_DIFD_":"[LTF] Differential Detection","_EVT_MSG_TF_RD_":"[LTF] Regular Detection","_EVT_MSG_TF_SUSPA_":"[LTF] Suspicious Start","_EVT_MSG_TF_SUSPD_":"[LTF] Suspicious Detection","_EVT_MSG_TF_SUSPN_":"[TF] Suspicious Mode End","_EVT_MSG_TF_TD_":"[UTF] Train Detected","_EVT_MSG_TF_TUPD_":"[UTF] Train Updated","_EVT_MSG_TF_USD_":"[UTF] Upper Sensor Detection","_EVT_MSG_VIFDEC_":"Video Framerate Decreased","_EVT_MSG_VIFINC_":"Video Framerate Increased","_EVT_MSG_W2DTRG_":"Wide Target","_EVT_MSG_W3DTRG_":"Wide Target","_FACT_DEFAULT_":"Set by Factory","_FACTORY_RESET_":"Reset to Factory Defaults","_FHM_PROPS_":"FH Module Properties","_FILE_NAME_":"File Name","_FISONMODULE_":"Files Saved on Module","_FOUNDER_":"Founder","_FRAME_FORMAT_":"Frame Format","_FRAME_SIZE_":"Frame Size","_FROM_ANCH_":"from Anchor","_FUSION_ENGINE_":"Fusion Engine","_GEN_INSTANCE_ID_":"Generate New Identity","_GENERAL_":"General","_GENERAL_NFO_":"General Info","_GEO_LOCATION_":"Geo Locations","_GO_HOME_":"Go Home","_GUEST_":"Guest","_HARDWARE_":"Hardware","_ID_":"id","_INFO_":"Information","_INFO_MSG_":"Information Message","_INSTANCE_ID_":"Instance Identity","_INTER_MAP_":"Internet Map","_ISSURES_":"Issue Reset","_KAFKA_BROKER_":"Kafka Broker","_KAFKA_DESC_LOO_":"Sends Events from TTIDS server to a KAFKA Broker Node","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Kafka Topics and Events","_LAST_ACCESS_":"Last Access","_LAT_":"Latitude","_LAT_SHORT_LBL_":"Lat","_LAYER_ATTRIB_":"Layer Attribution","_LEFT_PIC_BOUND_":"Left Picture Boundary (pixels)","_Loading_Calo_":"Loading Dates","_LOC_MAP_LBL_":"Location Map","_LOC_TAB_":"Location\/Orientation","_LOCAL_PIC_MAP_":"Local Picture Map","_LOCK_USER_":"Lock User","_LOGIN_":"Login","_LOGIN_0_":"Login:","_LOGOUT_":"Logout","_LON_":"Longitude","_LON_SHORT_LBL_":"Lon","_MA_CIRCLE__":"Circular","_MA_ROUND_":"Square","_MAINTENENCE_":"Maintenance","_MANUADD_CAMERA_":"Manually add IP Camera","_MAP_":"Map","_MAP_CENTER_MODE_":"Map Centre Mode","_MAP_COORD_SYSTEM_":"Map Coordinate System","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_LEFT_CORCORD_":"Left Upper Corner Coordinate","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (requires Internet)","_MAP_RIGHT_CORCORD_":"Right Bottom Corner Coordinate","_MAP_TYP_LBL_":"Map Type","_MAP_WIDTH_":"Map Width (meters)","_MAS_LRF_DET_SET_":"Master LRF Detection Settings","_MASK_EDITOR_":"Mask Editor","_MASK_MANAGER_":"Masking Management","_MAX_NATURAL_ZOOM_":"Max Natural Zoom","_MAX_ZOOM_":"Max Zoom","_MEMO_":"Memo","_METERS_":"Meters","_METERS_RANGE_":"Meters","_MOD_NO_NEDCONF_":"Module does not need to be configured.","_MODEM_DESC_LOO_":"Provides WAN connectivity over cellular networks (UMTS, 4G, LTE). Also sends Events via SMS","_MODEM_DESC_SHO_":"Cellular Modem Manager","_MODULE_":"Module","_MONIT_LAYOUT_":"Monitoring Layout","_MONITORING_":"Monitoring","_MSG_CAM_NOT_ASS_":"Camera is Not Assigned to the System","_MSG_CAM_PROC_2_SET_":"Proceed to Cameras Settings to Assign One","_MSG_CAM_PROC_NOT_ASS_":"Camera is Not Assigned to the System Please Assign One","_MSG_SELITEMFROMMAP_":"Select Item From Map","_NAME_LABEL_":"Name\/Label","_NAME_MAP_":"Map Name","_NET_SETTINGS_":"Connections","_NEW_PASSWORD_":"New Password","_NO_PTZ_":"No PTZ Control","_NO_SENSORS_DEF_":"No Sensors Defined","_NO_UARTS_DEF_":"No UART Defined","_OK_":"Ok","_ONVIF_DESC_LOO_":"OnVif module allows you to discover and communicate with the network cameras which supports the ONVIF specifications on the same subnet.","_ONVIF_DESC_SHO_":"OnVif LAN Discovery Module","_ORIENTATION_":"Orientation","_OUTPUT_FRAME_SIZE_":"Output Frame Size","_PASSWORD_0_":"Password:","_PHONE_NUMBER_":"Phone Number","_Please_Wait_":"Please Wait","_PLS_CONFIRM_":"Please Confirm","_PLS_SEL_CAL_DATE_":"Please Select a Date from the Calendar from the right","_PLS_SEL_LEFT_ITEM_":"Please select item from the left to view more info.","_POINTER_":"[ptr]","_POSITION_":"Position","_PROF_SETTINGS_":"Profile Settings","_PROGRESS_":"Progress","_PROPERTIES_":"Properties","_PROTO_DEVICE_ID_":"Protocol ID","_PROV_CAC_":"Please Provide Camera Access Credentials.","_PTZ_TAB_":"PTZ Settings","_QERY_MSG_":"Question Message","_RANGE_":"Range","_READY_":"Ready","_READY_TO_UPLO_":"Ready to Upload","_REGULAR_":"Regular","_RELOAD_":"Reload","_REMOVE_CAMERA_":"Remove Camera","_REMOVE_SENSOR_":"Remove Sensor","_REP_PASSWORD_":"Repeat Password","_REPO_HISTORY_":"Reports\/History","_REPORT_STORAGE_":"Reports\/History Storage","_REQ_FAILURE_":"Failure","_RES_ETHERNET_DESC_":"Ethernet Network Adapter","_RES_EZ_UART_DESC_":"UART connected via Ethernet","_RES_HW_UART_DESC_":"UART connected to a Server Appliance","_RES_INFO_":"Resource Information","_RES_WAN_DESC_":"WAN Adapter (Broadband Internet)","_RES_WIFI_DESC_":"WiFi Network Adapter","_RESETSTATUS_":"Reset Status","_RESOURCES_":"Resources","_RIGHT_PIC_BOUND_":"Right Picture Boundary (pixels)","_RSET_CREDENTIALS_":"Reset Credentials","_RUS_DELETE_MODULE_":"Are you sure delete Module?","_SARE_SAVED_":"Settings Are Saved","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Bypass Size","_SENS_ACKT_":"Default Bypass Shape","_SENS_APPLY_RES_":"Apply To Device and Reset","_SENS_AUTOR_ENA_":"Auto Reset Enabled","_SENS_AUTOR_INTER_":"Auto Reset Interleave","_SENS_AUTOR_TO_":"Auto Timeout","_SENS_BZSHIFT_":"Board Zero Shift","_SENS_DEL_FROTH_":"Delete Frozen Threshold","_SENS_DIS_FROTH_":"Disable Frozen Threshold","_SENS_DO_FULLR_":"Issue Sensor Full Reset","_SENS_DO_READALL_":"Read All Settings from Sensor","_SENS_DO_SAVEALL_":"Save All Settings to Sensor","_SENS_ENA_FROTH_":"Enable Frozen Threshold","_SENS_FFTH_":"Freeze First Threshold","_SENS_FIN_FROTH_":"Finish Frozen Threshold Study","_SENS_HTEMP_":"Heater Temperature","_SENS_JUMODI_":"Just Moving Distance","_SENS_JUMORA_":"Just Moving Radial","_SENS_JUMOTA_":"Just Moving Targets","_SENS_NOBLA_":"No Black Targets","_SENS_SCANSPEED_":"Scan Speed","_SENS_SFTH_":"Save First Threshold","_SENS_STATUS_":"Sensor's Status","_SENSOR_CONNECTION_":"Sensors","_SENSOR_MAX_RANGE_":"Max Range","_SENSOR_PLACE_":"Sensor Placeholder","_SERIAL_":"Serial","_SERV_CTLPANEL_SHRT_":"Server Control","_SERV_FACTORY_DESC_":"Restore factory settings, clear database and detection settings","_SERV_FACTORY_OP_":"Restore Factory Settings","_SERV_FACTORY_QM_":"All settings will be cleared The only admin user will be preserved.The Report History will be kept intact.","_SERV_HW_DET_DESC_":"Run a hardware discovery process to recognize recently connected devices such as a USB serial port or USB video.","_SERV_HW_DET_OP_":"Detect new Hardware","_SERV_HW_DET_QM_":"Are you sure to run a hardware discovery process.That will prevent detection events for few seconds.","_SERV_HW_DET_QT_":"Hardware Detection","_SERV_LOG_":"Server Log","_SERV_OSRESET_DESC_":"Restart the host operating system to apply any recent system configuration changes","_SERV_OSRESET_OP_":"Restart Host Computer","_SERV_RESTART_DESC_":"Restart the management application to initialize all components and apply any configuration changes.","_SERV_RESTART_OP_":"Restart Control Application","_SERV_RESTART_QM_":"Are you sure to restart control application?","_SERV_RESTART_QT_":"Restart Backend","_SERVER_MODULES_":"Modules","_SET_CHANGED_WOULD_SAVE_":"Some Settings are Changed They will be Unsaved!","_SET_CREDENTIALS_":"Set Credentials","_SETTING_SAVE_OK_":"All changes saved successfully","_SETTINGS_":"Settings","_SETTINGS_CHANGED_":"Settings Changed","_SITE_DEL_ALL_ABO_":"Are you sure to delete all devices and settings?","_SITE_PROP_LBL_":"Site Properties","_SITE_TITLE_":"TTIDS","_SIZE_":"Size","_SLV_LRF_DET_SET_":"Slave LRF Detection Settings","_SMM_ADD_ADDIT_":"Add Additional Equipment","_SMM_ADD_LSEN_":"Add Laser Sensor","_SMS_ONLY_":"SMS Only","_SND_FILES2_DEV__":"Send Files","_SOUND_":"Sound","_SOURCE_":"Source","_SSDP_DESC_LOO_":"SSDP announcer allows you announce on your LAN a TTIDS server","_SSDP_DESC_SHO_":"SSDP announcer daemon for UPnP\/DLNA","_SSL_CERT_INVALID__":"Provided Certificate is Invalid","_SSL_CERT_IP_NO_":"Provided Certificate Valid For Other IP Address","_SSL_CERT_VALID_INSTA":"The Certificate is Valid and will be applied intact (it will take few minutes). The System is going to reboot.","_SSL_NO_EXT_CERT_":"No x509 Extensions defined in Certificate","_SSL_NO_IP_CERT_":"No Ip Addresses in Certificate","_SSL_PROVIDE_CERT_":"Please Provide Valid Certificate for %IP% signed by Dr. Frucht Systems.You may request one at www.smartsecsystems.com","_SSL_VALID_BUT_":"The Certificate is Valid. However:","_STATIC_CONNECTION_":"Static Connection","_STATUS_":"Status","_STORE_DAYS_":"Keep Report History Days","_STORE_EMPTY_SPACE_":"Preserve Empty Space on System","_STREAMS_":"Streams","_STUDY_BACKGROUND_":"Study Background","_SUCCESS_":"Success","_SWU_DASHBOARD_":"Software Update Management","_SYS_ANCHORT_LBL_":"System Anchor","_SYS_DASHBOARD_":"System Overview","_SYS_GENERAL_":"General","_SYS_MAP_":"System Map","_SYS_SETTINGS_":"System Settings","_TARGET_FILTERS_":"Filters","_TARGETING_TAB_":"Alarm Settings","_TCP_CLIENT_":"TCP Client","_TCP_SERVER_":"TCP Server","_TILE_URL_MAP_":"Tiles URL Pattern","_TIME_":"Time","_TOOLBOX_":"Toolbox","_TOP_PIC_BOUND_":"Top Picture Boundary (pixels)","_TYPE_":"Type","_UART_PORT_":"UART Port","_UDP_CLIENT_":"UDP Client","_UDP_SERVER_":"UDP Server","_UNLOCK_USER_":"Unlock User","_UPDATE_LBL_":"Update","_UPDATING_DATA_":"Updating Data","_UPGRADE_MNGMNT_":"Upgrade\/Backup","_UPLO_DONE_":"Already Uploaded","_UPLO_IN_PROGRESS_":"Uploading","_UPLOA2MODULE_":"Upload to Module","_UPLOAD_PACKAGE_":"Upload Package","_UPPER_SENSOR_":"Upper Sensor","_USER_":"User","_USER_LOGIN_":"User Login","_USERS_MNGMT_":"Users Management","_VERSION_":"Version","_VIDEO_ENCODER_":"Video","_VIDEO_FILE_HAS_DOWNLOADED_":"Video File has been Downloaded","_WDEV_DET_WIZ0_":"Device Type","_WDEV_DET_WIZ1_":"Installation Type","_WDEV_DET_WIZ2_":"Environment","_WDEV_DET_WIZ3_":"Something Else","_WDEV_DET_WIZT_":"Sensor Setup Detection Wizard","_WDEV_MISTMATCH_":"Device Is Different","_WIDTH_":"Width","_WIDTH_CORRECT_":"Width Correction","_WORKING_MODE_":"Working Mode","_WRO_VAL_MSG_":"You Entered Wrong Values Please Correct and Continue.","_WRO_VALUES_":"Wrong Values","_ZL_MEDIA_DESC_LOO_":"Support multiple protocols (RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC), support protocol interconversion.","_ZL_MEDIA_DESC_SHO_":"ZLMediaKit Server - Streaming Encoder","05b048d7242cb7b8b57cfa3b1d65ecea":"Gamma","0737d367234baa9eb0d7d93044d4cdcb":"AGC","0e6ebfbce4a1d380a356f7d0ca501db2":"Zoom Frame","1f9d92d5edaba165f934540a3525112a":"Tilt Frame","20e57f32ba12b9cd13ebe9ef5e32d949":"Invert","210ab9e731c9c36c2c38db15c28a8d1c":"Volume","3a5769e56038d8308b08f8741077d943":"Odd Field Offset","3b2d7435a9d67b3630988c398af85da5":"Sharpness","442348a3a2d4dc460bf2e86b1e97bd71":"Power Line","4cf296191801ec357d2aa0ad3a484cba":"Manual WB","5f458c0f2db08c33596b0e7a8dbc0e5b":"Manual Exp.","71a6b6f094346a8832df801c8428ea06":"Hue","885cd2552e1136cfd94ae863668e8942":"Even Field Offset","aa71a2ef3fb13c2642ea72645a698cb8":"Brightness","AUTO_DRAW":"Automatic Draw","b4e67baf7b29f6474d4ac44008dafed4":"BL Compensation","b914f4cdf61e27d144e5ceef61eec7a2":"Automute","bba4e31fa5d5b2fee356b87111a52aa3":"Horizontal Flip","c8fd07f040a8f2dc85f5b2d3804ea3db":"Contrast","cc0d5ee2cdb80bf82426e9def9f9bf7c":"Pan Frame","def9cbe59ce34853e7081f62b095e348":"Mute","ed063c64d46ede5916894e6ac2ab9ce1":"Auto WB","Error_Message":"Error Message","ETHERNET_PROP":"Ethernet","facdbb51cba54d1eccbdd8bd670e7b33":"Auto Exp.","fb520ff39848b91b70496ecf6c67f68e":"Compression Quality","fd71ed58ae07cc75900a5169e6f9c287":"Saturation","FILTER_AFP":"Authorised Persons Filter","FILTER_TRAIN":"Train Target Filter","FRAMEGRAB_PROP":"Analog Video","MOD_TYPE":"Module Type","MODE_ACCESS_POINT":"Access Point","MODE_DISABLED":"Disabled","MODE_ETHDYNAMIC":"Dynamic Address (DHCP)","MODE_ETHROUTER":"Static Address Router","MODE_ETHSTATIC":"Static Address","MODULE_DCBUSB":"USB Dry Contact Control Module","MODULE_EMB_VIDO":"Internal Video Encoder","MODULE_FLYHUNT":"FlyHunter Drone Control","MODULE_GPS":"GPS Time Sync Module","MODULE_KAFKA":"Kafka Data Proxy","MODULE_MODEM_MAN":"Modem Manager","MODULE_NETWORK":"Network Module [TBD]","MODULE_ONVIF_DIS":"OnVif Discovery","MODULE_SSDP":"Network Announcer","MODULE_ZLMEDIA":"ZLMedia Server","SENS_NAME":"Sensor's Name","SENS_RANGE":"Sensor Range","SENS_TYPE":"Sensor's Type","SERV_BLD_TAG":"Build Tag","SERV_NAME":"Server Name","SETIAL_TAG":"Serial Tag","SRV_STATUS_OFF":"Server is Offline","SRV_STATUS_ON":"Server is Online","SYS_MSG_DEVINV":"The Connected Device is Different from","SYS_SERVNAME":"TTIDS Server","UART_COM_BITS":"Bits","UART_COM_PARITY":"Parity","UART_COM_SBITS":"Stop Bits","UART_COM_SPEED":"Com Speed","UART_LINE_PROP":"UART","VIRTUALIP_PROP":"Virtual IP","VPN_TUN_PROP":"VPN Tunnel","WAN_LINE_PROP":"WAN Connection","WIFI_PROP":"WiFi","_EVT_MSG_TF_OM_DIS_":"[TF] Disabled by AUX Module","_EVT_MSG_TF_OM_TD_":"[TF] AUX Detects Train","_EVT_MSG_TF_OM_TG_":"[TF] AUX Train is Gone","_EVT_MSG_TF_OM_EXPIRED_":"[TF] AUX Status Expired","_SENS_DO_FULLDRAW_":"Request Full Draw","_REMOTE_SERVER_ADDRESS_":"Remote Server IPv4","_REMOTE_SERVER_PORT_":"Remote Server Port","_USE_REMOTE_SERVER_":"Use Remote Server","_SKIP_LOCAL_REPORTS_":"Skip Local Reports","_CAM_PTZ_MODE_":"PTZ Mode","_CAM_IR_ECO_":"IR Economode","_CAM_PRES_EDIT_":"Edit Presets","_CAM_PRES_EDITOR_":"Preset Editor","_CAM_PRES_SSELECT_":"Selected Sensor","_CAM_PRES_LOBACK_":"Load Background","_CAM_PRES_DELALL_":"Delete All Presets","_CAM_PRES_COUNT_":"Presets Count","_CAM_PRES_COLS_":"Presets Columns","_CAM_PRES_ROWS_":"Presets Rows","_CAM_PRES_IROFF_":"IR Off Preset","_CAM_PRES_IRON_":"IR ON Preset","_CAM_PRES_IRAUTO_":"IR Auto Preset","_CAM_PRES_IRWIPER_":"Wiper Preset","__SET__":"Set","_CAM_PRES_REMBG_":"Remove Sensor Draw","_CAM_PREF_ONLY_":"Only Targets from Bound Sensor","_SENS_BOCAM_":"Bind to Camera","_CHANGE_CREDENTIALS_":"Change Credentials","_CONNECTION_":"Connection","_SELD_MODEM_":"Selected Modem","_CALL_HU_DELAY_":"Call Hangup Delay (seconds)","__MODE__":"Mode","_AUTOMATIC_":"Automatic","_MULTI_LAYOUT_":"Multi Display Monitoring","_MULTYDIS_ENA_":"Multi Display Mode","_BACKUP_SERVER_ADDRESS_":"Backup Server IPv4","_BACKUP_SERVER_PORT_":"Backup Server Port","_EVT_MSG_TF_TD_EXPIRED_":"[UTF] Train is Gone","_EVT_MSG_TF_SUSP_EXPIRED_":"[TF] Suspicious Blocking End","_LBL_SCADA_":"SCADA","_CAM_FLIPMO_":"Image Flip Mode","_CAM_FLIPHO_":"Mirrored","_CAM_FLIPVE_":"Flip Vertically","_CAM_FLIPVEHO_":"Flip Vertical+Mirrored","_DEV_FILTERS_":"Filters","FILTER_APF":"Authorised Prsonel Filter","FILTER_BUBBLE":"Bubble Target Filter","FILTER_YOLO":"YoLo AI Video Filter","_EVT_MSG_TF_BUBBLE_CREATED_":"Bubble is Created","_EVT_MSG_TF_BUBBLE_POPPED_":"Bubble is Popped","_BUBBLE_ID_":"Bubble ID","_DEV_FRZ_BBL_BTN_":"Freeze","_DEV_DEL_BBL_BTN_":"Add/Delete","_EVT_MSG_TF_BUBBLE_BLOCK_T_":"Target Blocked by Temporary Bubble","_EVT_MSG_TF_BUBBLE_BLOCK_P_":"Target Blocked by Frozen Bubble"} \ No newline at end of file +{"Label ID":"Label Content","___ENABLED__":"Enabled","__ADD__":"Add","__DISABLED__":"Disabled","__LOGIN__":"Login","__LOGIN_ID__":"Login ID","__LOGOUT__":"Logout","__NARROWER__":"Narrower","__OFFLINE__":"Offline","__ONLINE__":"Online","__PAGEWASGENIN__":"The page was generated in","__PASSWORD__":"Password","__PTZ_CONTROL__":"PTZ Control","__SECOND__":"second","__SECONDS__":"seconds","__SSl_DOWNLOAD__":"Please Download our Root CA certificate and Install it into your System (see instructions below)","__SSl_NO_CERT__":"The Working Certificate for %IP% Not Installed.","__SSl_WELCOME__":"SSL Certificates required for security","__UPLOAD__":"Upload","__WIDER__":"Wider","__ZERO_SHIFT__":"Zero Shift","_ACC_LOG_":"Security Log","_ACCESS_ADMIN_":"Admin","_ACCESS_DENIED_":"Access Denied","_ACCESS_FACTORY_":"Factory Defined","_ACCESS_LEVEL_":"Access Level","_ACCESS_LOGIN_":"Access Login","_ACCESS_MINIMAL_":"Minimal Access","_ACCESS_OPERATOR_":"Operator","_ACCESS_PASSWORD_":"Access Password","_ACTION_":"Action","_ADD_":"Add","_ADD_CAM_DIAL_TTL_":"Add IP Camera","_ADD_CAMERA2SITE_":"Add Camera to Site","_ADD_CONNECTION_":"Add Connection","_ADD_E2U_DIAL_TTL_":"Add Ethernet To Serial Adapter","_ADD_EVT_FILTER_":"Add Event Filter","_ADD_FILTER_":"Add Filter","_ADD_IP_CAMERA_":"Add IP Camera","_ADD_MEDIA_SERVER_":"Add Media Server","_ADD_MODULE_":"Add Module","_ADD_NEW_PHN_":"Add New Phone Number","_ADD_NEW_WTR_":"Add New Record","_ADD_REMOTE_UART_":"Add Remote UART","_ADD_USER_":"Add User","_ADM_SETTINGS_":"Admin Settings","_ADMIN_":"Admin","_ADV_TAB_":"Advanced Settings","_AJX_REQFAILURE_":"Error: AJAX","_ALARMED_":"Alarmed","_ALT_SHORT_LBL_":"Alt","_ANAL_SOURCES_LST_":"Local Video Sources","_APLY_DBBACKUP_":"Restore","_APP_TITLE_":"TTIDS","_APPLICA_MNGMNT_":"Application Settings","_APPLY_CHANGES_":"Apply Changes","_APPLY_SETTINGS_":"Apply Settings","_AS_MODULE_":"Add Server Module","_ASSIGN_CAMERA_":"Assign Camera","_AUTH_MODE_0_":"Authorization Mode","_AXIS_ROT_":"Axis Rotation","_AZIMUTH_":"Azimuth","_BACKUP_SETTINGS_":"Backup\/Restore","_BOT_PIC_BOUND_":"Bottom Picture Boundary (pixels)","_BOTTOM_SENSOR_":"Bottom Sensor","_BROWSE_":"Browse","_BTN_CLR_AHIST_":"Clear All History","_BTN_CLR_SELECTED_":"Clear Selected","_BUSY_":"Busy","_CAC_TAB_":"Credentials","_CALL_ONLY_":"Call Only","_CAM_AH_TIME_":"Time After Alarm","_CAM_AH_TOKEN_":"Home Preset Token","_CAM_ASS_LIST_":"Assigned Cameras","_CAM_AUTO_HOMING_":"Enable Automatic Home Return","_CAM_CUSTOMZ_":"Custom Zoom","_CAM_DET_LIST_":"Detected Cameras","_CAM_FIXEDZ_":"Fixed Zoom","_CAM_FOCALL_":"Focal Length","_CAM_IP_ADDRESS_":"Camera IP Address","_CAM_LABEL_":"Camera Label","_CAM_LENS_SETTINGS_":"Lens Settings","_CAM_MAP_NAME_":"Camera Name","_CAM_MAX_RANGE_":"Maximal Range","_CAM_PANANGS_":"Total Pan Angles","_CAM_PANMOD_":"Pan Model","_CAM_PROTO_ID_":"Camera ID","_CAM_PTZ_AAC_":"PTZ Auto Acceleration","_CAM_PTZ_MAC_":"PTZ Manual Acceleration","_CAM_SENS_SIZE_":"Sensor Size","_CAM_TILTANGS_":"Total Tilt Angles","_CAM_TILTMOD_":"Tilt Model","_CAM_TM_ALL_":"All Targets","_CAM_TM_ALL_FAR_":"All Far","_CAM_TM_ALL_NEAR_":"All Near","_CAM_TM_REGULAR_":"Regular","_CAM_TM_REVERSED_":"Reversed","_CAM_TM_RSHIFTED_":"Rev-Shifted","_CAM_TM_SHIFTED_":"Shifted","_CAM_TM_STRICT_VISIBLE_":"Strict Visible Targets","_CAM_TRIGGERING_MODE_":"Alarm Triggering Mode","_CAM_VARIOZ_":"Simple Zoom","_CAM_ZOOM_PERC_":"Zoom Percents","_CAM_ZOOMMO_":"Zoom Mode","_CAM_ZOOMR_":"Zoom Ratio","_CAMERA_MNGMNT_":"Cameras","_CANCEL_":"Cancel","_CHOOSEF_":"Choose File","_CLEAR_":"Clear","_CLEAR_ALARM_":"Clear Alarm","_CLEAR_SITE_":"Delete All","_CLOSE_":"Close","_CON_2_IP_CAM_":"Connect to IP Camera","_CONNECT_2_":"Connect to","_CONNECT_2_SEL_":"Connect To Selected","_CREA_ANAL_CAM_":"Create Analog Camera","_CREATE_CUSTOM_MAP_":"Create Custom Map","_CREATE_NEW_LBL_":"Create New","_CREATED_":"Created","_CTL_SERVER_NODE_":"Control Server Node","_CUSTOM_MSG_":"Custom Message","_DASHBOARD_":"Dashboard","_DATETIME_":"Time","_DB_BACKUP_":"Select Restore File","_DB_FILE_HAS_DOWNLOADED_":"Settings File has been Downloaded","_DB_STAT_CON_0_":"Connected ... Sync in progress","_DB_STAT_CON_UNA_":"Connection is Unavailable","_DB_STAT_STUDY_":"Analyzing","_DB_UPLOAD_BACKUP_":"Uploading Settings","_DC_AUTO_ENA_":"Enable Dry Contact Control","_DC_CONTROL_SET_":"Dry Contact Control","_DC_TIME_WINDOW_":"Dry Contact Time Window","_DC_WM_NC_":"Normally Close","_DC_WM_NO_":"Normally Open","_DC_WORK_MODE_":"Dry Contact Work Mode","_DEBUGGING_MODE_":"Debugging Mode","_DEL_SELECTED_":"Delete Selected","_DEL_USER_":"Remove User","_DELETE_":"Delete","_DESCRIPTION_":"Description","_DET_GENWORKS_":"General Tasks","_DET_IP_CAMERA_LST_":"Detected IP Cameras List","_DET_SENSITIVITY_":"Detection Sensitivity Profile","_DET_SET_WIDTH_T_":"Width Table","_DET_SETTINGS_":"Detection Settings","_DEV_ACK_BTN_":"Detection Bypass","_DEV_ACK_BTN2_":"Detections Bypassed","_DEV_ACK_START_":"Are you sure want to Bypass current detections?","_DEV_ACK_STOP_":"Are you sure want to cancel detection Bypass?","_DEV_CTLPANEL_SHRT_":"Device Control","_DEV_ITYPE_FLD_":"Sensor Installed","_DEV_MISTMATT1_":"Please decide what to do","_DEV_PL_ANG_":"At an Angle","_DEV_PL_HORI_":"Horizontally","_DEV_PL_VERT_":"Vertically","_DEV_RANGE_FLD_":"Max Range","_DEV_TYPE_3D_":"3DLRF Sensor","_DEV_TYPE_ALS_":"ALS Sensor","_DEV_TYPE_FLD_":"Sensor Type","_DEV_TYPE_LFS_":"LFS Sensor","_DEV_TYPE_NPLS200_":"New PLS200 Sensor (Network)","_DEV_TYPE_PLS200_":"PLS200 Sensor","_DEV_TYPE_PLS360_":"PLS360 Sensor","_DEVICE_IP_":"IP Address","_DEVICE_NAME_":"Device Name","_DEVICE_PORT_":"Port","_DISCONNECTED_":"Disconnected","_DLG_ADD_3DSENS_":"Add 3DLRF Sensor","_DLG_ADD_ALS_":"Add ALS Sensor","_DLG_ADD_LFS_":"Add LFS Sensor","_DLG_ADD_PLS200_":"Add PLS200 Sensor","_DLG_ADD_PLS360_":"Add PLS360 Sensor","_DLG_CON_SEVER_NODE_":"Will be Connected to","_DOWNLOAD_SETTINGS_":"Download Current Settings","_DRAW_BACKGROUND_":"Draw Background","_EDIT_":"Edit","_EDIT_CUR_MAP_":"Edit Current Map","_EDIT_LRF3D_SETTINGS_":"Edit Lidar 3D Settings","_EDIT_USER_":"Edit User","_EDIT_USER_CRACCES_":"Edit User Credentials and Access","_EDIT_WTR_":"Edit Width Table Record","_EDT_CONNECTIONS_":"Edit Connections","_EDT_LOCATIONS_":"Edit Locations","_ELEVATION_":"Elevation","_EMBED_VIDEO_ENCODER_":"Embed Video Encoder Module","_ERROR_MSG_":"Error Message","_EVE_COMPRESS_QUA_":"Compression Quality","_EVE_DESC_LOO_":"Video Encoder Module provides Imaging Capture functionality to TTIDS server. Can capture Analog Video from USB grabber\/USB WebCam or Digital Stream from IP Camera","_EVE_DESC_SHO_":"LibAV(ffmpeg) Internal Video Encoder","_EVE_FONT_LBL_":"Font Type","_EVE_FONT_TS_":"Font Type","_EVE_LBL_FSCALE_":"Label Font Scale","_EVE_LBL_FTHICK_":"Label Font Thickness","_EVE_LBL_LINE_T_":"Label Line Type","_EVE_LBL_POSX_":"Label X","_EVE_LBL_POSY_":"Label Y","_EVE_LOGO_HEIGHT_":"Logo Height","_EVE_LOGO_POSX_":"Logo X","_EVE_LOGO_POSY_":"Logo Y","_EVE_LOGO_WIDTH_":"Logo Width","_EVE_PORT_":"Web Access Port","_EVE_SHOW_LBL_":"Show Label","_EVE_SHOW_LOGO_":"Show Custom Logo","_EVE_SHOW_TS_":"Show TimeStamp","_EVE_TRANSO_LBL_":"Transparent BG","_EVE_TRANSO_TS_":"Transparent BG","_EVE_TS_FSCALE_":"Font Scale","_EVE_TS_FTHICK_":"Font Thickness","_EVE_TS_LINE_T_":"Font Line Type","_EVE_TS_POSX_":"TimeStamp X","_EVE_TS_POSY_":"TimeStamp Y","_EVENT_":"Event","_EVENT_LOG_":"Event Log","_EVT_ARCHIVE_":"Events Archive","_EVT_MONITOR_":"Live Monitor","_EVT_MONITOR_IPI_":"SingleIPI Mode","_EVT_MSG_ACKOFF_":"Bypass Mask Deleted","_EVT_MSG_ACKON_":"Bypass Mask Added","_EVT_MSG_B2DTRG_":"Black 2D Target","_EVT_MSG_B3DTRG_":"Black 3D Target","_EVT_MSG_BUMO_":"Device Is BUSY","_EVT_MSG_COM_JAMED_":"Communication Jammed","_EVT_MSG_CONNECTED_":"Connected","_EVT_MSG_DISCONNECTED_":"Disconnected","_EVT_MSG_EVT_CLOMA_":"Event Closed Manual","_EVT_MSG_EVT_END_":"Event Ended","_EVT_MSG_EVT_START_":"Event Started","_EVT_MSG_FLIPO_":"Flip Complete","_EVT_MSG_MASKOFF_":"Turning Off Masking Area","_EVT_MSG_MASKON_":"Turning On Masking Area","_EVT_MSG_ROI_":"Point Of Interest","_EVT_MSG_SCANC_":"Scan Complete","_EVT_MSG_STUMO_":"Device Enters Into Study Mode","_EVT_MSG_TF_BSD_":"[LTF] Detection","_EVT_MSG_TF_CT_":"[TF] Check Target","_EVT_MSG_TF_DD_":"[LTF] Disabled","_EVT_MSG_TF_DIFD_":"[LTF] Differential Detection","_EVT_MSG_TF_RD_":"[LTF] Regular Detection","_EVT_MSG_TF_SUSPA_":"[LTF] Suspicious Start","_EVT_MSG_TF_SUSPD_":"[LTF] Suspicious Detection","_EVT_MSG_TF_SUSPN_":"[TF] Suspicious Mode End","_EVT_MSG_TF_TD_":"[UTF] Train Detected","_EVT_MSG_TF_TUPD_":"[UTF] Train Updated","_EVT_MSG_TF_USD_":"[UTF] Upper Sensor Detection","_EVT_MSG_VIFDEC_":"Video Framerate Decreased","_EVT_MSG_VIFINC_":"Video Framerate Increased","_EVT_MSG_W2DTRG_":"Wide Target","_EVT_MSG_W3DTRG_":"Wide Target","_FACT_DEFAULT_":"Set by Factory","_FACTORY_RESET_":"Reset to Factory Defaults","_FHM_PROPS_":"FH Module Properties","_FILE_NAME_":"File Name","_FISONMODULE_":"Files Saved on Module","_FOUNDER_":"Founder","_FRAME_FORMAT_":"Frame Format","_FRAME_SIZE_":"Frame Size","_FROM_ANCH_":"from Anchor","_FUSION_ENGINE_":"Fusion Engine","_GEN_INSTANCE_ID_":"Generate New Identity","_GENERAL_":"General","_GENERAL_NFO_":"General Info","_GEO_LOCATION_":"Geo Locations","_GO_HOME_":"Go Home","_GUEST_":"Guest","_HARDWARE_":"Hardware","_ID_":"id","_INFO_":"Information","_INFO_MSG_":"Information Message","_INSTANCE_ID_":"Instance Identity","_INTER_MAP_":"Internet Map","_ISSURES_":"Issue Reset","_KAFKA_BROKER_":"Kafka Broker","_KAFKA_DESC_LOO_":"Sends Events from TTIDS server to a KAFKA Broker Node","_KAFKA_DESC_SHO_":"KAFKA Broker Proxy","_KAFKA_TOP_EVTS_":"Kafka Topics and Events","_LAST_ACCESS_":"Last Access","_LAT_":"Latitude","_LAT_SHORT_LBL_":"Lat","_LAYER_ATTRIB_":"Layer Attribution","_LEFT_PIC_BOUND_":"Left Picture Boundary (pixels)","_Loading_Calo_":"Loading Dates","_LOC_MAP_LBL_":"Location Map","_LOC_TAB_":"Location\/Orientation","_LOCAL_PIC_MAP_":"Local Picture Map","_LOCK_USER_":"Lock User","_LOGIN_":"Login","_LOGIN_0_":"Login:","_LOGOUT_":"Logout","_LON_":"Longitude","_LON_SHORT_LBL_":"Lon","_MA_CIRCLE__":"Circular","_MA_ROUND_":"Square","_MAINTENENCE_":"Maintenance","_MANUADD_CAMERA_":"Manually add IP Camera","_MAP_":"Map","_MAP_CENTER_MODE_":"Map Centre Mode","_MAP_COORD_SYSTEM_":"Map Coordinate System","_MAP_CUST_LBL_":"Custom Map","_MAP_HEIGHT_":"Map Height (meters)","_MAP_LEFT_CORCORD_":"Left Upper Corner Coordinate","_MAP_MONITORING_":"Map Monitoring","_MAP_NAME_":"Map Name","_MAP_PICTURE_":"Map Picture","_MAP_REG_LBL_":"Regular WGS84 Map (requires Internet)","_MAP_RIGHT_CORCORD_":"Right Bottom Corner Coordinate","_MAP_TYP_LBL_":"Map Type","_MAP_WIDTH_":"Map Width (meters)","_MAS_LRF_DET_SET_":"Master LRF Detection Settings","_MASK_EDITOR_":"Mask Editor","_MASK_MANAGER_":"Masking Management","_MAX_NATURAL_ZOOM_":"Max Natural Zoom","_MAX_ZOOM_":"Max Zoom","_MEMO_":"Memo","_METERS_":"Meters","_METERS_RANGE_":"Meters","_MOD_NO_NEDCONF_":"Module does not need to be configured.","_MODEM_DESC_LOO_":"Provides WAN connectivity over cellular networks (UMTS, 4G, LTE). Also sends Events via SMS","_MODEM_DESC_SHO_":"Cellular Modem Manager","_MODULE_":"Module","_MONIT_LAYOUT_":"Monitoring Layout","_MONITORING_":"Monitoring","_MSG_CAM_NOT_ASS_":"Camera is Not Assigned to the System","_MSG_CAM_PROC_2_SET_":"Proceed to Cameras Settings to Assign One","_MSG_CAM_PROC_NOT_ASS_":"Camera is Not Assigned to the System Please Assign One","_MSG_SELITEMFROMMAP_":"Select Item From Map","_NAME_LABEL_":"Name\/Label","_NAME_MAP_":"Map Name","_NET_SETTINGS_":"Connections","_NEW_PASSWORD_":"New Password","_NO_PTZ_":"No PTZ Control","_NO_SENSORS_DEF_":"No Sensors Defined","_NO_UARTS_DEF_":"No UART Defined","_OK_":"Ok","_ONVIF_DESC_LOO_":"OnVif module allows you to discover and communicate with the network cameras which supports the ONVIF specifications on the same subnet.","_ONVIF_DESC_SHO_":"OnVif LAN Discovery Module","_ORIENTATION_":"Orientation","_OUTPUT_FRAME_SIZE_":"Output Frame Size","_PASSWORD_0_":"Password:","_PHONE_NUMBER_":"Phone Number","_Please_Wait_":"Please Wait","_PLS_CONFIRM_":"Please Confirm","_PLS_SEL_CAL_DATE_":"Please Select a Date from the Calendar from the right","_PLS_SEL_LEFT_ITEM_":"Please select item from the left to view more info.","_POINTER_":"[ptr]","_POSITION_":"Position","_PROF_SETTINGS_":"Profile Settings","_PROGRESS_":"Progress","_PROPERTIES_":"Properties","_PROTO_DEVICE_ID_":"Protocol ID","_PROV_CAC_":"Please Provide Camera Access Credentials.","_PTZ_TAB_":"PTZ Settings","_QERY_MSG_":"Question Message","_RANGE_":"Range","_READY_":"Ready","_READY_TO_UPLO_":"Ready to Upload","_REGULAR_":"Regular","_RELOAD_":"Reload","_REMOVE_CAMERA_":"Remove Camera","_REMOVE_SENSOR_":"Remove Sensor","_REP_PASSWORD_":"Repeat Password","_REPO_HISTORY_":"Reports\/History","_REPORT_STORAGE_":"Reports\/History Storage","_REQ_FAILURE_":"Failure","_RES_ETHERNET_DESC_":"Ethernet Network Adapter","_RES_EZ_UART_DESC_":"UART connected via Ethernet","_RES_HW_UART_DESC_":"UART connected to a Server Appliance","_RES_INFO_":"Resource Information","_RES_WAN_DESC_":"WAN Adapter (Broadband Internet)","_RES_WIFI_DESC_":"WiFi Network Adapter","_RESETSTATUS_":"Reset Status","_RESOURCES_":"Resources","_RIGHT_PIC_BOUND_":"Right Picture Boundary (pixels)","_RSET_CREDENTIALS_":"Reset Credentials","_RUS_DELETE_MODULE_":"Are you sure delete Module?","_SARE_SAVED_":"Settings Are Saved","_SAVE_":"Save","_SCREEN_RESIZE_":"Resize Screen","_SEC_SYSTEM_":"","_SELE_ANIMAGE_":"Select an image","_SELE_DBBACKUP_":"Restore Settings","_SENDTOSENS_":"Send to Sensor","_SENS_ACKS_":"Default Bypass Size","_SENS_ACKT_":"Default Bypass Shape","_SENS_APPLY_RES_":"Apply To Device and Reset","_SENS_AUTOR_ENA_":"Auto Reset Enabled","_SENS_AUTOR_INTER_":"Auto Reset Interleave","_SENS_AUTOR_TO_":"Auto Timeout","_SENS_BZSHIFT_":"Board Zero Shift","_SENS_DEL_FROTH_":"Delete Frozen Threshold","_SENS_DIS_FROTH_":"Disable Frozen Threshold","_SENS_DO_FULLR_":"Issue Sensor Full Reset","_SENS_DO_READALL_":"Read All Settings from Sensor","_SENS_DO_SAVEALL_":"Save All Settings to Sensor","_SENS_ENA_FROTH_":"Enable Frozen Threshold","_SENS_FFTH_":"Freeze First Threshold","_SENS_FIN_FROTH_":"Finish Frozen Threshold Study","_SENS_HTEMP_":"Heater Temperature","_SENS_JUMODI_":"Just Moving Distance","_SENS_JUMORA_":"Just Moving Radial","_SENS_JUMOTA_":"Just Moving Targets","_SENS_NOBLA_":"No Black Targets","_SENS_SCANSPEED_":"Scan Speed","_SENS_SFTH_":"Save First Threshold","_SENS_STATUS_":"Sensor's Status","_SENSOR_CONNECTION_":"Sensors","_SENSOR_MAX_RANGE_":"Max Range","_SENSOR_PLACE_":"Sensor Placeholder","_SERIAL_":"Serial","_SERV_CTLPANEL_SHRT_":"Server Control","_SERV_FACTORY_DESC_":"Restore factory settings, clear database and detection settings","_SERV_FACTORY_OP_":"Restore Factory Settings","_SERV_FACTORY_QM_":"All settings will be cleared The only admin user will be preserved.The Report History will be kept intact.","_SERV_HW_DET_DESC_":"Run a hardware discovery process to recognize recently connected devices such as a USB serial port or USB video.","_SERV_HW_DET_OP_":"Detect new Hardware","_SERV_HW_DET_QM_":"Are you sure to run a hardware discovery process.That will prevent detection events for few seconds.","_SERV_HW_DET_QT_":"Hardware Detection","_SERV_LOG_":"Server Log","_SERV_OSRESET_DESC_":"Restart the host operating system to apply any recent system configuration changes","_SERV_OSRESET_OP_":"Restart Host Computer","_SERV_RESTART_DESC_":"Restart the management application to initialize all components and apply any configuration changes.","_SERV_RESTART_OP_":"Restart Control Application","_SERV_RESTART_QM_":"Are you sure to restart control application?","_SERV_RESTART_QT_":"Restart Backend","_SERVER_MODULES_":"Modules","_SET_CHANGED_WOULD_SAVE_":"Some Settings are Changed They will be Unsaved!","_SET_CREDENTIALS_":"Set Credentials","_SETTING_SAVE_OK_":"All changes saved successfully","_SETTINGS_":"Settings","_SETTINGS_CHANGED_":"Settings Changed","_SITE_DEL_ALL_ABO_":"Are you sure to delete all devices and settings?","_SITE_PROP_LBL_":"Site Properties","_SITE_TITLE_":"TTIDS","_SIZE_":"Size","_SLV_LRF_DET_SET_":"Slave LRF Detection Settings","_SMM_ADD_ADDIT_":"Add Additional Equipment","_SMM_ADD_LSEN_":"Add Laser Sensor","_SMS_ONLY_":"SMS Only","_SND_FILES2_DEV__":"Send Files","_SOUND_":"Sound","_SOURCE_":"Source","_SSDP_DESC_LOO_":"SSDP announcer allows you announce on your LAN a TTIDS server","_SSDP_DESC_SHO_":"SSDP announcer daemon for UPnP\/DLNA","_SSL_CERT_INVALID__":"Provided Certificate is Invalid","_SSL_CERT_IP_NO_":"Provided Certificate Valid For Other IP Address","_SSL_CERT_VALID_INSTA":"The Certificate is Valid and will be applied intact (it will take few minutes). The System is going to reboot.","_SSL_NO_EXT_CERT_":"No x509 Extensions defined in Certificate","_SSL_NO_IP_CERT_":"No Ip Addresses in Certificate","_SSL_PROVIDE_CERT_":"Please Provide Valid Certificate for %IP% signed by Dr. Frucht Systems.You may request one at www.smartsecsystems.com","_SSL_VALID_BUT_":"The Certificate is Valid. However:","_STATIC_CONNECTION_":"Static Connection","_STATUS_":"Status","_STORE_DAYS_":"Keep Report History Days","_STORE_EMPTY_SPACE_":"Preserve Empty Space on System","_STREAMS_":"Streams","_STUDY_BACKGROUND_":"Study Background","_SUCCESS_":"Success","_SWU_DASHBOARD_":"Software Update Management","_SYS_ANCHORT_LBL_":"System Anchor","_SYS_DASHBOARD_":"System Overview","_SYS_GENERAL_":"General","_SYS_MAP_":"System Map","_SYS_SETTINGS_":"System Settings","_TARGET_FILTERS_":"Filters","_TARGETING_TAB_":"Alarm Settings","_TCP_CLIENT_":"TCP Client","_TCP_SERVER_":"TCP Server","_TILE_URL_MAP_":"Tiles URL Pattern","_TIME_":"Time","_TOOLBOX_":"Toolbox","_TOP_PIC_BOUND_":"Top Picture Boundary (pixels)","_TYPE_":"Type","_UART_PORT_":"UART Port","_UDP_CLIENT_":"UDP Client","_UDP_SERVER_":"UDP Server","_UNLOCK_USER_":"Unlock User","_UPDATE_LBL_":"Update","_UPDATING_DATA_":"Updating Data","_UPGRADE_MNGMNT_":"Upgrade\/Backup","_UPLO_DONE_":"Already Uploaded","_UPLO_IN_PROGRESS_":"Uploading","_UPLOA2MODULE_":"Upload to Module","_UPLOAD_PACKAGE_":"Upload Package","_UPPER_SENSOR_":"Upper Sensor","_USER_":"User","_USER_LOGIN_":"User Login","_USERS_MNGMT_":"Users Management","_VERSION_":"Version","_VIDEO_ENCODER_":"Video","_VIDEO_FILE_HAS_DOWNLOADED_":"Video File has been Downloaded","_WDEV_DET_WIZ0_":"Device Type","_WDEV_DET_WIZ1_":"Installation Type","_WDEV_DET_WIZ2_":"Environment","_WDEV_DET_WIZ3_":"Something Else","_WDEV_DET_WIZT_":"Sensor Setup Detection Wizard","_WDEV_MISTMATCH_":"Device Is Different","_WIDTH_":"Width","_WIDTH_CORRECT_":"Width Correction","_WORKING_MODE_":"Working Mode","_WRO_VAL_MSG_":"You Entered Wrong Values Please Correct and Continue.","_WRO_VALUES_":"Wrong Values","_ZL_MEDIA_DESC_LOO_":"Support multiple protocols (RTSP\/RTMP\/HLS\/HTTP-FLV\/WebSocket-FLV\/GB28181\/HTTP-TS\/WebSocket-TS\/HTTP-fMP4\/WebSocket-fMP4\/MP4\/WebRTC), support protocol interconversion.","_ZL_MEDIA_DESC_SHO_":"ZLMediaKit Server - Streaming Encoder","05b048d7242cb7b8b57cfa3b1d65ecea":"Gamma","0737d367234baa9eb0d7d93044d4cdcb":"AGC","0e6ebfbce4a1d380a356f7d0ca501db2":"Zoom Frame","1f9d92d5edaba165f934540a3525112a":"Tilt Frame","20e57f32ba12b9cd13ebe9ef5e32d949":"Invert","210ab9e731c9c36c2c38db15c28a8d1c":"Volume","3a5769e56038d8308b08f8741077d943":"Odd Field Offset","3b2d7435a9d67b3630988c398af85da5":"Sharpness","442348a3a2d4dc460bf2e86b1e97bd71":"Power Line","4cf296191801ec357d2aa0ad3a484cba":"Manual WB","5f458c0f2db08c33596b0e7a8dbc0e5b":"Manual Exp.","71a6b6f094346a8832df801c8428ea06":"Hue","885cd2552e1136cfd94ae863668e8942":"Even Field Offset","aa71a2ef3fb13c2642ea72645a698cb8":"Brightness","AUTO_DRAW":"Automatic Draw","b4e67baf7b29f6474d4ac44008dafed4":"BL Compensation","b914f4cdf61e27d144e5ceef61eec7a2":"Automute","bba4e31fa5d5b2fee356b87111a52aa3":"Horizontal Flip","c8fd07f040a8f2dc85f5b2d3804ea3db":"Contrast","cc0d5ee2cdb80bf82426e9def9f9bf7c":"Pan Frame","def9cbe59ce34853e7081f62b095e348":"Mute","ed063c64d46ede5916894e6ac2ab9ce1":"Auto WB","Error_Message":"Error Message","ETHERNET_PROP":"Ethernet","facdbb51cba54d1eccbdd8bd670e7b33":"Auto Exp.","fb520ff39848b91b70496ecf6c67f68e":"Compression Quality","fd71ed58ae07cc75900a5169e6f9c287":"Saturation","FILTER_AFP":"Authorised Persons Filter","FILTER_TRAIN":"Train Target Filter","FRAMEGRAB_PROP":"Analog Video","MOD_TYPE":"Module Type","MODE_ACCESS_POINT":"Access Point","MODE_DISABLED":"Disabled","MODE_ETHDYNAMIC":"Dynamic Address (DHCP)","MODE_ETHROUTER":"Static Address Router","MODE_ETHSTATIC":"Static Address","MODULE_DCBUSB":"USB Dry Contact Control Module","MODULE_EMB_VIDO":"Internal Video Encoder","MODULE_FLYHUNT":"FlyHunter Drone Control","MODULE_GPS":"GPS Time Sync Module","MODULE_KAFKA":"Kafka Data Proxy","MODULE_MODEM_MAN":"Modem Manager","MODULE_NETWORK":"Network Module [TBD]","MODULE_ONVIF_DIS":"OnVif Discovery","MODULE_SSDP":"Network Announcer","MODULE_ZLMEDIA":"ZLMedia Server","SENS_NAME":"Sensor's Name","SENS_RANGE":"Sensor Range","SENS_TYPE":"Sensor's Type","SERV_BLD_TAG":"Build Tag","SERV_NAME":"Server Name","SETIAL_TAG":"Serial Tag","SRV_STATUS_OFF":"Server is Offline","SRV_STATUS_ON":"Server is Online","SYS_MSG_DEVINV":"The Connected Device is Different from","SYS_SERVNAME":"TTIDS Server","UART_COM_BITS":"Bits","UART_COM_PARITY":"Parity","UART_COM_SBITS":"Stop Bits","UART_COM_SPEED":"Com Speed","UART_LINE_PROP":"UART","VIRTUALIP_PROP":"Virtual IP","VPN_TUN_PROP":"VPN Tunnel","WAN_LINE_PROP":"WAN Connection","WIFI_PROP":"WiFi","_EVT_MSG_TF_OM_DIS_":"[TF] Disabled by AUX Module","_EVT_MSG_TF_OM_TD_":"[TF] AUX Detects Train","_EVT_MSG_TF_OM_TG_":"[TF] AUX Train is Gone","_EVT_MSG_TF_OM_EXPIRED_":"[TF] AUX Status Expired","_SENS_DO_FULLDRAW_":"Request Full Draw","_REMOTE_SERVER_ADDRESS_":"Remote Server IPv4","_REMOTE_SERVER_PORT_":"Remote Server Port","_USE_REMOTE_SERVER_":"Use Remote Server","_SKIP_LOCAL_REPORTS_":"Skip Local Reports","_CAM_PTZ_MODE_":"PTZ Mode","_CAM_IR_ECO_":"IR Economode","_CAM_PRES_EDIT_":"Edit Presets","_CAM_PRES_EDITOR_":"Preset Editor","_CAM_PRES_SSELECT_":"Selected Sensor","_CAM_PRES_LOBACK_":"Load Background","_CAM_PRES_DELALL_":"Delete All Presets","_CAM_PRES_COUNT_":"Presets Count","_CAM_PRES_COLS_":"Presets Columns","_CAM_PRES_ROWS_":"Presets Rows","_CAM_PRES_IROFF_":"IR Off Preset","_CAM_PRES_IRON_":"IR ON Preset","_CAM_PRES_IRAUTO_":"IR Auto Preset","_CAM_PRES_IRWIPER_":"Wiper Preset","__SET__":"Set","_CAM_PRES_REMBG_":"Remove Sensor Draw","_CAM_PREF_ONLY_":"Only Targets from Bound Sensor","_SENS_BOCAM_":"Bind to Camera","_CHANGE_CREDENTIALS_":"Change Credentials","_CONNECTION_":"Connection","_SELD_MODEM_":"Selected Modem","_CALL_HU_DELAY_":"Call Hangup Delay (seconds)","__MODE__":"Mode","_AUTOMATIC_":"Automatic","_MULTI_LAYOUT_":"Multi Display Monitoring","_MULTYDIS_ENA_":"Multi Display Mode","_BACKUP_SERVER_ADDRESS_":"Backup Server IPv4","_BACKUP_SERVER_PORT_":"Backup Server Port","_EVT_MSG_TF_TD_EXPIRED_":"[UTF] Train is Gone","_EVT_MSG_TF_SUSP_EXPIRED_":"[TF] Suspicious Blocking End","_LBL_SCADA_":"SCADA","_CAM_FLIPMO_":"Image Flip Mode","_CAM_FLIPHO_":"Mirrored","_CAM_FLIPVE_":"Flip Vertically","_CAM_FLIPVEHO_":"Flip Vertical+Mirrored","_DEV_FILTERS_":"Filters","FILTER_APF":"Authorised Prsonel Filter","FILTER_BUBBLE":"Bubble Target Filter","FILTER_YOLO":"YoLo AI Video Filter","_EVT_MSG_TF_BUBBLE_CREATED_":"Bubble is Created","_EVT_MSG_TF_BUBBLE_POPPED_":"Bubble is Popped","_BUBBLE_ID_":"Bubble ID","_DEV_FRZ_BBL_BTN_":"Freeze","_DEV_DEL_BBL_BTN_":"Add/Delete","_EVT_MSG_TF_BUBBLE_BLOCK_T_":"Target Blocked by Temporary Bubble","_EVT_MSG_TF_BUBBLE_BLOCK_P_":"Target Blocked by Frozen Bubble","_MANUADD_ACAMERA_":"Manually Add Frame Grabber Device","_FAILURE_":"Failure","_BUBBLE_ANALYSIS_":"Bubble Analysis","_TARGET_COUNT_":"Target Count"} \ No newline at end of file diff --git a/lib/ajax_asm.php b/lib/ajax_asm.php index 7f8bbec..6d23552 100644 --- a/lib/ajax_asm.php +++ b/lib/ajax_asm.php @@ -25,6 +25,7 @@ require_once('php/db/logio_class.php'); $LOG = new Logio( LOG_LVL_ALL ); require_once('php/db/user_class.php'); require_once('php/auth/web.php'); +require_once('php/utm/gPoint.php'); //require_once('php/db/language_class.php'); require_once('php/db/language_json_class.php'); require_once('php/sys/r-goose_sys.php'); diff --git a/lib/controller/getBubbleAnalysis.php b/lib/controller/getBubbleAnalysis.php new file mode 100644 index 0000000..59d0533 --- /dev/null +++ b/lib/controller/getBubbleAnalysis.php @@ -0,0 +1,115 @@ +Data['id'] ); + + $BID = intval( $_POST['BID'] ); + $BS = floatval( $_POST['BS'] ); + $EID = intval( $_POST['EID'] ); + $DTS = intval( $_POST['TS'] ); + $Data = array( 'status'=>'nok', 'msg'=>'Access Denied!' ); + $Bubbles = array(); + if( $BS < 0.2 ) $BS = 0.2; + function sphericalToCartesian( $radius, $theta, $phi ) { + global $Data; + // Ensure angles are in radians if they are not already. + // Use deg2rad() if your input angles are in degrees. + $theta = deg2rad($theta); + $phi = deg2rad($phi); + + $x = $radius * cos($phi) * cos($theta); + $y = $radius * cos($phi) * sin($theta); + $z = $radius * sin($phi); + return array( 'x' => $x, 'y' => $y, 'z' => $z ); + }; + + function serchInBubbles( $REC ){ + global $Bubbles, $Data; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $idx = 0; + foreach( $Bubbles as $B ){ + $CD = sqrt( pow( ( $B['x']-$CR['x'] ), 2 )+pow( ( $B['y']-$CR['y'] ), 2 )+pow( ( $B['z']-$CR['z'] ), 2 ) ); + if( $CD < $B['size'] ) return $idx; + $idx++; + }; + return -1; + }; + function createBubble( $REC, $BSize = 0.5 ){ + global $Bubbles, $Data; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $CR['count']=1; + $CR['size'] = $BSize; + //$Data['out'][]="R:{$CR['range']} Az:{$CR['az']} El:{$CR['el']} X:{$CR['x']} Y:{$CR['y']} Z:{$CR['z']}"; + $Bubbles[] = $CR; + }; + function updateBubble( $idx, $REC ){ + global $Bubbles; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $Bubbles[$idx]['range'] = ($Bubbles[$idx]['range']+$CR['range'])/2.0; + $Bubbles[$idx]['az'] = ($Bubbles[$idx]['az']+$CR['az'])/2.0; + $Bubbles[$idx]['el'] = ($Bubbles[$idx]['el']+$CR['el'])/2.0; + $Bubbles[$idx]['x'] = ($Bubbles[$idx]['x']+$CR['x'])/2.0; + $Bubbles[$idx]['y'] = ($Bubbles[$idx]['y']+$CR['y'])/2.0; + $Bubbles[$idx]['z'] = ($Bubbles[$idx]['z']+$CR['z'])/2.0; + $Bubbles[$idx]['count']++; + }; + if( $UID > 1 && $DTS ){ + $DS = date("Y/m/d", $DTS ); + $QS = "SELECT * FROM `events` WHERE ( `evt_type`=13 OR `evt_type`=14 ) AND `id`>={$BID} AND `id`<={$EID} ORDER BY `ts` ASC, `ts_ms` ASC"; + $ZIZI = new SQLite_DB( '/srv/www/web/lib/controller/data/reports/'.$DS.'/report.db'); + $LREC = $ZIZI->Query( $QS ); + if( count( $LREC ) ){ + foreach( $LREC as $REC ){ + $bid = serchInBubbles( $REC ); + if( $bid < 0 ){ + createBubble( $REC, $BS ); + } else { + updateBubble( $bid, $REC ); + }; + }; + if( count( $Bubbles ) ){ + $Data['status']='ok'; + unset( $Data['msg'] ); + $Data['bubbles'] = array(); + $idx = 0; + foreach( $Bubbles as $B ){ + $CR['id'] = $idx; + $CR['range'] = sprintf( "%0.2f", $B['range'] ); + $CR['az'] = sprintf( "%0.2f", $B['az'] ); + $CR['el'] = sprintf( "%0.2f", $B['el']); + $CD = sqrt( pow( $B['x'], 2 )+pow( $B['y'], 2 )+pow( $B['z'], 2 ) ); + $CR['r'] = intval( ( $CD * 2048.0)/ 65.0 ); + $CR['x'] = $B['x']; + $CR['y'] = $B['y']; + $CR['z'] = $B['z']; + $CR['count'] = $B['count']; + $Data['bubbles'][] = $CR; + $idx++; + }; + }; + } else { + $Data['msg']='No Target to Analyze!'; + }; + }; + echo json_encode( $Data ); +?> \ No newline at end of file diff --git a/lib/controller/getGrabberEritor.php b/lib/controller/getGrabberEritor.php index e527bde..0537108 100644 --- a/lib/controller/getGrabberEritor.php +++ b/lib/controller/getGrabberEritor.php @@ -46,7 +46,7 @@ $ctrl = array(); $RR = explode( ':', $CL ); $TArr=explode( ' ', $CL ); - if( stripos( $CL, 'int' )!== false ){ + if( stripos( $CL, 'int' )!== false ){ $ctrl['type'] = 'slider'; $ctrl['name'] = trim( $TArr[0] ); $ctrl['name_cod'] = md5( $ctrl['name'] ); @@ -121,7 +121,7 @@ $ll .="] }), valueField: 'fmt', - displayField: 'fmt_txt' + displayField: 'fmt_txt' }"; $OUT[$CCC] = $ll; $CCC++; @@ -178,7 +178,7 @@ }; break; }; - case 'combo':{ + case 'combo':{ $llt = 'select: function(t,r,n)'; $ll .= "lazyRender: true, mode: 'local', forceSelection: true, triggerAction: 'all', editable: false, disableKeyFilter: true, store: new Ext.data.ArrayStore({ fields: ['{$CC['id']}_id','{$CC['id']}_txt'], diff --git a/lib/controller/getReportLayout.php b/lib/controller/getReportLayout.php index ce2f5d9..5cdf9ea 100644 --- a/lib/controller/getReportLayout.php +++ b/lib/controller/getReportLayout.php @@ -76,6 +76,10 @@ $LOGIO=<<<_DATA_BOUNDARY lazyRender: true, height: 210, ds: rep_store, + tbar:[{ + text: 'Analyze Bubbles', + handler: doBubbleAnalyze + }], cm: new Ext.grid.ColumnModel( rep_ColModel_ops ), sm: new Ext.grid.RowSelectionModel( rep_SelModel_ops ), viewConfig: { diff --git a/lib/controller/getResourceEditor.php b/lib/controller/getResourceEditor.php index 174b041..079b259 100644 --- a/lib/controller/getResourceEditor.php +++ b/lib/controller/getResourceEditor.php @@ -525,7 +525,7 @@ EFUFU; $Sizes = array(); $Formats = array(); //If Source not assigned or not active - if( $CS['source_id'] == 0 || $CR['active'] == 0 ){ + if( $CS['source_id'] == 0 || $CR['valid'] == 0 ){ $CMD="v4l2-ctl -d {$CS['mrl']} --list-formats-ext"; $Data = `$CMD`; $TArr = explode( "\n", $Data ); @@ -724,7 +724,7 @@ JUJUAS; if( count( $OUT ) ){ $CCA = $TOPLER . implode( ',', $OUT ); } else { - $CCA = $TOPLER . '{}'; + $CCA = $TOPLER . '{ html: "-Device-Enquiry-Failure-" }'; }; echo "{ xtype: 'form', id:'an_str_edit', frame: false, autoScroll: true, border: false, layout: 'form', labelAlign: 'right', labelWidth: 150, items: [". $CCA ."] }"; } else { diff --git a/lib/controller/listMediaSources.php b/lib/controller/listMediaSources.php new file mode 100644 index 0000000..7c2e710 --- /dev/null +++ b/lib/controller/listMediaSources.php @@ -0,0 +1,63 @@ +Data['id'] > 1 ){ + if( isset( $_POST['cam_sources'] ) ){ + if( $_POST['cam_sources'] == 'ipv' ){ + $QS = "SELECT * FROM `cameras` WHERE `node_id`=0"; + $Result = $DATABASE->Query($QS,false); + foreach( $Result as $CD ){ + $cnode['id'] = $CD['id']; + $cnode['status'] = $CD['status']; + $cnode['login'] = $CD['access_login']; + $cnode['password']= $CD['access_pass']; + $cnode['name'] = urldecode($CD['name']); + $cnode['hardware']= urldecode($CD['hardware']); + $cnode['caps'] = 'IP'; + $cnode['ip'] = $CD['ip']; + $cnode['mac'] = $CD['mac']; + $cnode['ena'] = 1; + $Data['nodes'][] = $cnode; + }; + } else { + // Update Current Analog Sources + $CDATA = `v4l2-ctl --list-devices`; + $LU = explode( "\n", $CDATA ); + $CDEVS = array(); + foreach( $LU as $U ){ + $CL = trim( $U ); + if( substr( $CL, 0, 10 ) == '/dev/video' ){ + $CN = getV4L2DeviceName( $CL ); + $RR = array( 'name'=>$CN, 'mrl'=>$CL ); + $QS = "SELECT * FROM `media_streams` WHERE `source_type`='A' AND `mrl`='{$CL}'"; + $KO = $DATABASE->Query( $QS ); + if( count( $KO ) == 0 ){ + $CDEVS[] = $RR; + + //$QS = "INSERT INTO `media_streams`( + }; + }; + }; + $QS = "SELECT `ms`.* , `re`.`node_id` FROM `media_streams` `ms` LEFT JOIN `resources` `re` ON ( `re`.`aux_id` = `ms`.`id` ) WHERE `ms`.`source_type`='A' AND `ms`.`source_id`=0"; + $Result = $DATABASE->Query($QS,false); + foreach( $Result as $CD ){ + $cnode['id'] = $CD['id']; + $cnode['server'] = getServerID( $CD['node_id'] );//'local'; + $T = getV4L2DeviceName($CD['mrl']); + $cnode['name'] = $T['name']; + $cnode['hardware']= $T['dev']; + $cnode['caps'] = 'Analog'; + $cnode['ip'] = '['.$CD['img_width'] .'x' . $CD['img_height'] .']'; + $cnode['mac'] = $CD['mrl']; + if( $T['dev']=='unknown') $cnode['ena'] = 0; else $cnode['ena'] = 1; + $Data['nodes'][] = $cnode; + }; + }; + echo json_encode( $Data ); + } else { + header('location: /'); + }; + } else { + header('location: /'); + }; +?> \ No newline at end of file diff --git a/lib/controller/report/node_10.js b/lib/controller/report/node_10.js index 3e4558f..a7c91cb 100644 --- a/lib/controller/report/node_10.js +++ b/lib/controller/report/node_10.js @@ -1,39 +1,80 @@ { id: 'db_node_%%%NODEID%%%', - //xtype: 'portlet', - layout:'fit', - //width: 258, - //height: %%%HEIGHT%%%+40, + layout:'vbox', tools: [{ - id:'gear', - handler: function(){ - //editAnalogStream( %%%STREAMID%%%, 1 ); - } - }], + id:'gear', + handler: function(){ + } + }], frame: true, draggable: false, + collapsible: false, bodyStyle: 'padding: 0px;', title: '%%%NODENAME%%%', + sukaMineWidth: -1, items:[{ id: 'db_node_%%%NODEID%%%_pic', - html: '', + border: true, + width: '100%', + html: '
' }], - sukaMineWidth: -1, listeners:{ resize: function( p, adjWidth, adjHeight, rawWidth, rawHeight ){ if( rawWidth!= undefined ){ if( p.sukaMineWidth != adjWidth ){ p.sukaMineWidth = adjWidth; - var XX = 32 + p.sukaMineWidth * %%%HEIGHT%%% / %%%WIDTH%%%; - p.setHeight( XX ); + var XX = p.sukaMineWidth * %%%HEIGHT%%% / %%%WIDTH%%%; + p.setHeight( XX + 32 ); + var z = document.getElementById( 'video-%%%STREAMID%%%' ); + z.height = XX; }; }; - var z = Ext.getCmp('db_node_%%%NODEID%%%_pic'); - z.update(''); }, afterrender: function( p ){ - var xx = p.getWidth() * %%%HEIGHT%%% / %%%WIDTH%%%; - p.setHeight( xx+32 ); + var xx = p.getWidth() * ( %%%HEIGHT%%% / %%%WIDTH%%% ); + p.setHeight( xx + 32 ); + videoElements[videoElements.length] = %%%STREAMID%%%; + var xx = new Ext.Panel({ + id: 'video-ctl-panel-%%%STREAMID%%%', + renderTo: 'video-ctl-%%%STREAMID%%%', + border: false, + hidden: true, + frame: false, + width: 400, + height: 42, + layout: 'hbox', + items:[{ + xtype: 'button', + width: 32, + iconCls: 'download', + scale: 'medium', + id: 'video-btn-download-%%%STREAMID%%%', + handler: function(){ + downloadCurrentVideo( %%%STREAMID%%% ); + } + },{ + xtype: 'spacer', + width: 20 + },{ + xtype: 'slider', + width: 250, + id: 'video-slider-%%%STREAMID%%%', + value: 0, + minValue: 0, + maxValue: 100, + listeners:{ + change: function( t, b, o ){ + setVideoSource( %%%STREAMID%%%, b ); + } + } + }] + }); + }, + beforedestroy: function(){ + var oldPlayer = document.getElementById( 'video-%%%STREAMID%%%' ); + /* + videojs( oldPlayer ).dispose(); + */ } } } \ No newline at end of file diff --git a/lib/controller/setPermanentBubbles.php b/lib/controller/setPermanentBubbles.php new file mode 100644 index 0000000..7a5b996 --- /dev/null +++ b/lib/controller/setPermanentBubbles.php @@ -0,0 +1,122 @@ +Data['id'] ); + + $BID = intval( $_POST['BID'] ); + $BS = floatval( $_POST['BS'] ); + $EID = intval( $_POST['EID'] ); + $DTS = intval( $_POST['TS'] ); + $SBID = $_POST['SBID']; + $Data = array( 'status'=>'nok', 'msg'=>'Access Denied!','out'=>array() ); + $Bubbles = array(); + if( $BS < 0.2 ) $BS = 0.2; + function sphericalToCartesian( $radius, $theta, $phi ) { + global $Data; + // Ensure angles are in radians if they are not already. + // Use deg2rad() if your input angles are in degrees. + $theta = deg2rad($theta); + $phi = deg2rad($phi); + + $x = $radius * cos($phi) * cos($theta); + $y = $radius * cos($phi) * sin($theta); + $z = $radius * sin($phi); + return array( 'x' => $x, 'y' => $y, 'z' => $z ); + }; + + function serchInBubbles( $REC ){ + global $Bubbles, $Data; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $idx = 0; + foreach( $Bubbles as $B ){ + $CD = sqrt( pow( ( $B['x']-$CR['x'] ), 2 )+pow( ( $B['y']-$CR['y'] ), 2 )+pow( ( $B['z']-$CR['z'] ), 2 ) ); + if( $CD < $B['size'] ) return $idx; + $idx++; + }; + return -1; + }; + function createBubble( $REC, $BSize = 0.5 ){ + global $Bubbles, $Data; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $CR['count']=1; + $CR['size'] = $BSize; + //$Data['out'][]="R:{$CR['range']} Az:{$CR['az']} El:{$CR['el']} X:{$CR['x']} Y:{$CR['y']} Z:{$CR['z']}"; + $Bubbles[] = $CR; + }; + function updateBubble( $idx, $REC ){ + global $Bubbles; + $CR = array(); + $CR['range'] = floatval( $REC['range'] ); + $CR['az'] = floatval( $REC['azimuth'] ); + $CR['el'] = floatval( $REC['elevation'] ); + $CC = sphericalToCartesian( $CR['range'], $CR['az'], $CR['el'] ); + $CR['x'] = $CC['x']; + $CR['y'] = $CC['y']; + $CR['z'] = $CC['z']; + $Bubbles[$idx]['range'] = ($Bubbles[$idx]['range']+$CR['range'])/2.0; + $Bubbles[$idx]['az'] = ($Bubbles[$idx]['az']+$CR['az'])/2.0; + $Bubbles[$idx]['el'] = ($Bubbles[$idx]['el']+$CR['el'])/2.0; + $Bubbles[$idx]['x'] = ($Bubbles[$idx]['x']+$CR['x'])/2.0; + $Bubbles[$idx]['y'] = ($Bubbles[$idx]['y']+$CR['y'])/2.0; + $Bubbles[$idx]['z'] = ($Bubbles[$idx]['z']+$CR['z'])/2.0; + $Bubbles[$idx]['count']++; + }; + if( $UID > 1 && $DTS ){ + $DS = date("Y/m/d", $DTS ); + $QS = "SELECT * FROM `events` WHERE ( `evt_type`=13 OR `evt_type`=14 ) AND `id`>={$BID} AND `id`<={$EID} ORDER BY `ts` ASC, `ts_ms` ASC"; + $ZIZI = new SQLite_DB( '/srv/www/web/lib/controller/data/reports/'.$DS.'/report.db'); + $LREC = $ZIZI->Query( $QS ); + if( count( $LREC ) ){ + foreach( $LREC as $REC ){ + $bid = serchInBubbles( $REC ); + if( $bid < 0 ){ + createBubble( $REC, $BS ); + } else { + updateBubble( $bid, $REC ); + }; + }; + if( count( $Bubbles ) ){ + $Data['status']='ok'; + $TArr = explode(',', $SBID ); + $SEID = array(); + foreach( $TArr as $T ){ + $Z = intval( $T ); + if( $Z > -1 ) $SEID[] = $Z; + }; + $idx = 0; + $cr_cnt = 0; + $ex_cnt = 0; + foreach( $Bubbles as $B ){ + if( in_array( $idx, $SEID ) ){ + //check if allready exists + $QS = "SELECT `id` FROM `target_bubbles` WHERE ( ABS(`CENTER_X`-({$B['x']})) < `BOUNDARY` ) AND ( ABS(`CENTER_Y`-({$B['y']})) < `BOUNDARY` ) AND ( ABS(`CENTER_Z`-({$B['z']})) < `BOUNDARY` ) LIMIT 1"; + $J = $DATABASE->Query( $QS ); + if( count( $J ) == 0 ){ + $QS="INSERT INTO `target_bubbles`(`CENTER_X`,`CENTER_Y`,`CENTER_Z`,`BOUNDARY`,`BLOCK_COUNS`) VALUES({$B['x']},{$B['y']},{$B['z']},{$BS},255)"; + $cr_cnt++; + $DATABASE->Query( $QS ); + } else $ex_cnt++; + }; + $idx++; + }; + $Data['msg'] = "
Created {$cr_cnt} Permanent Bubble(s)
{$ex_cnt} Permanent Bubbles already Existed on Same Place(s)
"; + }; + } else { + $Data['msg']='No Target to Analyze!'; + }; + }; + echo json_encode( $Data ); +?> \ No newline at end of file diff --git a/lib/javascript/jsapi_dynamic/mojo_reports.js b/lib/javascript/jsapi_dynamic/mojo_reports.js index 0571c5c..dec5e34 100644 --- a/lib/javascript/jsapi_dynamic/mojo_reports.js +++ b/lib/javascript/jsapi_dynamic/mojo_reports.js @@ -38,6 +38,8 @@ var rep_store = new Ext.data.JsonStore({ {name: 'lon', type: 'float'} ] }); + + function rep_sn_Renderer( value, meta, record ){ //Must be set according to events var kaka = record.data.node_id % 3; @@ -102,10 +104,12 @@ function rep_et_Renderer( value, meta, record ){ }; return '
'+ov+'
'; }; + function r_no_target_filter( value, meta, record ){ if( record.data.type >9 && record.data.type < 52 || record.data.type == 86 || record.data.type == 87 || record.data.type == 93 || record.data.type == 94 ) return value; return ''; }; + var rep_ColModel_ops = { columns: [ {header: "GetLabel('_TIME_');?>", width: 180, fixed: true, align: 'left', css: 'vertical-align: middle;', dataIndex: 'dts' }, @@ -124,6 +128,7 @@ var rep_ColModel_ops = { width: 100 } }; + var cRowSelected = -1; var rep_SelModel_ops = { singleSelect: true, @@ -159,6 +164,58 @@ var rep_SelModel_ops = { } }; + +var bubble_store = new Ext.data.JsonStore({ + autoDestroy: false, + storeId: 'bubble_store', + //idIndex: 0, + idProperty: 'id', + fields: [ + {name: 'id', type: 'int' }, + {name: 'range', type: 'string'}, + {name: 'az', type: 'string'}, + {name: 'el', type: 'string'}, + {name: 'r', type: 'int'}, + {name: 'count', type: 'int'}, + {name: 'x', type: 'float'}, + {name: 'y', type: 'float'}, + {name: 'z', type: 'float'} + ] +}); + +var bubble_ColModel_ops = { + columns: [ + {header: "GetLabel('_BUBBLE_ID_');?>", width: 100, dataIndex: 'id' }, + {header: "GetLabel('_TARGET_COUNT_');?>", sortable: true, width: 100, dataIndex: 'count' }, + {header: "GetLabel('_RANGE_');?>", dataIndex: 'range' }, + {header: "GetLabel('_AZIMUTH_');?>", dataIndex: 'az' }, + {header: "GetLabel('_ELEVATION_');?>", dataIndex: 'el' } + ], + defaults: { + sortable: false, + fixed: true, + menuDisabled: true, + width: 100 + } +}; + +var bubble_SelectedRows = null; + +var bubble_SelModel_ops = { + singleSelect: false, + listeners: { + rowselect: function(sm, row, rec ) { + Ext.getCmp('sbaw_sbp_btn').enable(); + loadBubbleData( rec.data ); + }, + rowdeselect: function(sm, row, rec ) { + if(!sm.hasSelection()){ + Ext.getCmp('sbaw_sbp_btn').disable(); + } + } + } +}; + var cevt = Array(); var coz = Array(); @@ -499,6 +556,232 @@ function showEventPanel(){ EventPanelWindow .show(); }; +var bubbleAnalyticsWindow = null; +var bubbleFilterSize = 0.5 +function doBubbleAnalyze(){ + Ext.Ajax.request({ + url: '/lib/controller/getBubbleAnalysis.php', + params: { + UID: , + SID: '', + BS: bubbleFilterSize, + TS: currentHistoryTS, + BID: currentHistoryBeginId, + EID: currentHistoryEndId + }, + success: function( response, opts ){ + var data = Ext.decode( response.responseText ); + if( data.status == 'nok' ){ + Ext.Msg.show({ + title:'GetLabel('_FAILURE_');?>', + msg: data.msg, + buttons: Ext.Msg.OK, + icon: Ext.MessageBox.INFO + }); + } else { + showBubbleAnalytics( data.bubbles ); + }; + }, + failure: function( response, opts ) { + } + }); +}; +function showBubbleAnalytics( data ){ + if( bubbleAnalyticsWindow == null ){ + bubbleAnalyticsWindow = new Ext.Window({ + modal: true, + title: 'GetLabel("_BUBBLE_ANALYSIS_");?>', + width: winW*0.66, + height: winH*0.66, + layout: 'fit', + resizable: false, + closeAction: 'hide', + tbar:[{ + id: 'sbaw_ubs_btn', + text: 'Update Bubble Size', + disabled: true, + handler: function(){ + bubbleFilterSize = Ext.getCmp('sbaw_ubs_num').getValue(); + doBubbleAnalyze(); + } + },'-',{ + id: 'sbaw_ubs_num', + xtype: 'numberfield', + style: { + fontSize: '12px' + }, + width: 50, + value: bubbleFilterSize, + listeners:{ + change: function( t, n, o ){ + var rr=Ext.getCmp('sbaw_ubs_btn'); + rr.enable(); + rr=Ext.getCmp('sbaw_ubs_sld'); + rr.suspendEvents( false ); + rr.setValue( n*10, true ); + rr.resumeEvents(); + } + } + },'-',{ + id: 'sbaw_ubs_sld', + xtype: 'slider', + value: (bubbleFilterSize * 10), + increment: 5, + minValue: 0, + width: 250, + maxValue: 100, + listeners: { + change: function( t, b, o ){ + var rr=Ext.getCmp('sbaw_ubs_btn'); + rr.enable(); + rr=Ext.getCmp('sbaw_ubs_num'); + rr.suspendEvents( false ); + rr.setValue( b/10, true ); + rr.resumeEvents(); + } + } + }], + bbar:['->',{ + text: 'Cancel', + handler: function(){ + bubbleAnalyticsWindow.hide(); + } + },{ + id: 'sbaw_sbp_btn', + text: 'Set Selected Bubbles as Permanent', + disabled: true, + handler: function(){ + var sm = Ext.getCmp('bubble_grid').getSelectionModel(); + var ada = sm.getSelections(); + var ids =''; + for( i=0; i, + SID: '', + BS: bubbleFilterSize, + TS: currentHistoryTS, + BID: currentHistoryBeginId, + EID: currentHistoryEndId, + SBID: ids + }, + success: function( response, opts ){ + var data = Ext.decode( response.responseText ); + bubbleAnalyticsWindow.hide(); + if( data.status == 'nok' ){ + Ext.Msg.show({ + title:'GetLabel('_FAILURE_');?>', + msg: data.msg, + buttons: Ext.Msg.OK, + icon: Ext.MessageBox.ERROR + }); + } else { + Ext.Msg.show({ + title:'GetLabel('_SUCCESS_');?>', + msg: data.msg, + buttons: Ext.Msg.OK, + icon: Ext.MessageBox.INFO + }); + }; + }, + failure: failureAJAXFunction + }); + } + }], + items:[{ + id: 'bubble_a_container', + frame: false, + border: false, + layout: 'table', + layoutConfig: { + columns: 2 + }, + items:[{ + id: 'bubble_map', + frame: false, + border: false, + draggable: false, + collapsible: false, + listeners:{ + afterrender: function(p){ + var W = Ext.getCmp( 'bubble_a_container' ).getHeight(); + var H = W; + + Ext.getCmp( 'bubble_map' ).setWidth( W ); + p.setHeight( H ); + Ext.getCmp( 'cp_radar_bubble' ).setHeight( H ); + Ext.getCmp( 'cp_radar_bubble' ).setWidth( H ); + document.getElementById('draw_svgr_bubble').setAttribute("width", H-80 ); + /*var el = document.getElementById('div_radar_bubble'); + el.addEventListener( "fullscreenchange", ( evt )=>{ + if( document.fullscreenElement ){ + } else { + if( fsDrawID ){ + var el = document.getElementById('draw_svgr_'+fsDrawID ); + el.removeAttribute("width"); + el.setAttribute( "width", H-80 ); + fsDrawID = 0; + }; + }; + });*/ + //window.setTimeout( load2DDraw, 10*%%%NODEID%%%, %%%NODEID%%%, 'draw_svgr_' ); + } + }, + layout: 'hbox', + items:[{ + id: 'cp_radar_bubble', + html: '
100 m.502512.5
', + width: '100%' + }] + },{ + xtype: 'grid', + id: 'bubble_grid', + border: false, + frame: false, + autoScroll: true, + //width: '100%', + lazyRender: true, + height: 210, + ds: bubble_store, + cm: new Ext.grid.ColumnModel( bubble_ColModel_ops ), + sm: new Ext.grid.RowSelectionModel( bubble_SelModel_ops ), + viewConfig: { + forceFit: true, + getRowClass: function( record, rowIndex, rowParams, store){ + switch( record.get('id')%5 ){ + case 0: return 'row-level01'; + case 1: return 'row-level02'; + case 2: return 'row-level03'; + case 3: return 'row-level04'; + case 4: return 'row-level05'; + }; + return ''; + } + }, + listeners:{ + afterrender : function( t ){ + var H = Ext.getCmp( 'bubble_a_container' ).getHeight(); + var W = Ext.getCmp( 'bubble_a_container' ).getWidth() - H -5; + t.setHeight( H ); + t.setWidth( W ); + } + } + }] + }] + }); + }; + bubbleAnalyticsWindow.show(); + var csvg = document.getElementById( 'draw_svgr_bubble' ); + if( csvg!= undefined ){ + var roi = csvg.getElementById( "roi" ); + if( roi != null ) csvg.removeChild( roi ); + }; + bubble_store.removeAll(); + bubble_store.loadData( data ); +}; + function ModeRenderer(val){ var p1, p2, p3; if( ( val & 1 ) == 1 ){ @@ -781,6 +1064,15 @@ function loadEventData( record ){ }; }; +function loadBubbleData(record){ + var csvg = document.getElementById( 'draw_svgr_bubble' ); + if( csvg!= undefined ){ + var roi = csvg.getElementById( "roi" ); + if( roi != null ) csvg.removeChild( roi ); + }; + markEventOnRadar( 'bubble', record.az, record.r, "#00ffff", "#008080" ); +}; + function clearAllRadars(){ for( i=1; i< 1000; i++ ){ var csvg = document.getElementById( 'draw_svgr_' + i ); @@ -1406,18 +1698,23 @@ function loadReportSegment( ts, bid, eid ){ loadReportData( ts, bid, eid ); }; }; - +var currentHistoryTS = 0; +var currentHistoryBeginId = 0; +var currentHistoryEndId = 0; function loadReportData( ts, bid, eid ){ ReportSelectionMode = 2; // Session Selected hideVideos(); + currentHistoryTS = ts; + currentHistoryBeginId = bid; + currentHistoryEndId = eid; Ext.Ajax.request({ url: '/lib/controller/getHistoryEvents.php', params: { UID: , SID: '', - TS: ts, - BID: bid, - EID: eid, + TS: currentHistoryTS, + BID: currentHistoryBeginId, + EID: currentHistoryEndId, }, success: function(response, opts ){ var data = Ext.decode( response.responseText ); diff --git a/lib/javascript/jsapi_dynamic/mojo_settings.js b/lib/javascript/jsapi_dynamic/mojo_settings.js index 010b8f8..229c1a0 100644 --- a/lib/javascript/jsapi_dynamic/mojo_settings.js +++ b/lib/javascript/jsapi_dynamic/mojo_settings.js @@ -1457,7 +1457,7 @@ function addSensor(){ }; addSensorDialog.hide(); }, - failure: failureAJAXFunction + failure: failureAJAXFunction }); } else { Ext.Msg.show({ @@ -1476,7 +1476,56 @@ function addSensor(){ }; var addDetCamDialog = null; +var addDetACamDialog = null; var addDetCamWM = null; + +function addDetectedAnalogCam(){ + if( addDetACamDialog == null ){ + addDetACamDialog = new Ext.Window({ + modal: true, + title: 'GetLabel('_ANAL_SOURCES_LST_');?>', + width: 800, + height: 600, + layout: 'fit', + closeAction: 'hide', + items:[{ + xtype: 'grid', + frame: false, + border: false, + ds: cameraListStore, + cm: AnalogCameraListColModel, + sm: AnalogCameraListSelModel, + viewConfig: { + forceFit: true + } + }], + bbar: [{ + text: 'GetLabel('_CANCEL_');?>', + handler: function(){ + addDetACamDialog.hide(); + } + },'->',{ + id: 'cha_an_strim_set', + text: 'GetLabel('_SETTINGS_');?>', + disabled: ( SelectedSource == 0 ), + handler: function(){ + editAnalogStream( SelectedSource ); + } + },{ + id: 'con_to_anal_src', + text: 'GetLabel('_CONNECT_2_SEL_');?>', + disabled: ( SelectedSource == 0 ), + handler: function(){ + //alert( 'Cam Type:'+SelectedCamTYPE ); + showAnalCamPropDialog(); + } + }] + }); + }; + addDetACamDialog.show(); + cameraListStore.load({params:{cam_sources:'anal'}}); +}; + function addDetectedIPCam(){ if( addDetCamDialog == null ){ addDetCamDialog = new Ext.Window({ @@ -2413,6 +2462,11 @@ function showSettingsVideo(){ handler: function(){ addDetectedIPCam(); } + },{ + text: "GetLabel( '_MANUADD_ACAMERA_' );?>", + handler: function(){ + addDetectedAnalogCam(); + } }], items:[] },{