SDEASYCAM 手机APP软件 后30页代码.docx
《SDEASYCAM 手机APP软件 后30页代码.docx》由会员分享,可在线阅读,更多相关《SDEASYCAM 手机APP软件 后30页代码.docx(31页珍藏版)》请在优知文库上搜索。
1、#pragmamark-保存设置-(void)save:(id)sender(NSIntegerstart,end;startSWeekIndex*49+SHourIndex*2+SMinuteIndex;end=eWeekindex49+eHorlnde*2+eMintelnde;if(endstart)for(NSIntegeri=start:isDayData,planTime,sizeof(plaTime);s2-u32SchedulType=AVIOTCSCHEDULETYPEALARM;self.camerasendlOClrlToChannel:0Type:IOTYPE_USER
2、_IPCAM_SET_SCHEDULE_REQData:(Char*)s2Dalasizersizeof(SMsgAvioctrISetScheduIeReq);free(s2);!);eseif(sWeeklndex=6&eWeeklndex=0&eHourlndex=0&eMinutelndex=0)(end=342:for(NSIntegeri=start;isDayData,planTime,sizeof(planTime);s2-u32ScheduleType=AVIOTC_SCHEDULETYPE_ALARM;self.camerasendlOCtrlToChannel:0Type
3、:IOTYPE_USER_IPCAM_SET_SCHEDULE_REQData:(char*)s2Datasizersizeof(SMsgAvioctrISetScheduIeReq);free(s2);!);elseif(sWeeklndex=0&sHourlndex=0&sMinutelndex=0&eWeeklndex=0&eHourlndex=0&eMinutelndex=0)(else(MBProgressHUDshowError:(NSStringstringWithFormat:NSLocalizedString(Error,Plstrysettingtimeagain!,ret
4、urn;/saveandIoadup/sendCMDSMsgAvioctrISetGuardReqEn*s1=malloc(sizeof(SMsgAVItrlSetGuardReqEn);memset(s1,O,sizeof(SMsgAVItrlSetGuardReqEn);s1-chanel=O;/memcpy(s1-ftpServer1sServerUTF8String,(sServerlength);Hmemcpy(s1-userName,sAccountUTF8String,sAccountlength);Hmemcpy(sl-password,sPasswdUTF8Strig,sPa
5、sswdlength);Hs1-ftpPort=(int)nPort;s1-alarm_motion_armed=self.isMotioSwitch;s1-alarm_motion_sensitivityself.motionDetection:sl-alarm_preset=self.alarmPresetValue;(Self-CamerasendlOCtrIToChannekOType:IOTYPE_USER_IPCAM_SETGUARD_REQData:(char*)s1Datasizersizeof(SMsgAvioctrISetGuardReqEn);free(s1):Z/2sa
6、vevideotoSDCardSMsgAvioctrISetAlarmLinkageReqs2=mall。C(SiZeOf(SMSgAVIoCmSetAIarmLinkageReq);memset(s2,O,Sizeof(SMsgAvioctrISetAIarmLinkageReq);s2-channel=O;s2-VidToSDCard(inl)self.isSaveVideoToSD;Self-CamerasendIOCtriToChannekOType:IOTYPE_USER_IPCAM_SET_ALARM_LINKAGE_REQData:(char)s2Datasizeisizeof(
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SDEASYCAM 手机APP软件 后30页代码 手机 APP 软件 30 代码