DeviceObject.m 639 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // DeviceObject.m
  3. // XMEye
  4. //
  5. // Created by XM on 2018/4/13.
  6. // Copyright © 2018年 Megatron. All rights reserved.
  7. //
  8. #import "DeviceObject.h"
  9. @implementation DeviceObject
  10. - (instancetype)init {
  11. self = [super init];
  12. if (self) {
  13. _deviceMac = @"";
  14. _deviceName = @"";
  15. _loginName = @"admin";
  16. _loginPsw = @"";
  17. _nPort = 34567;
  18. _nType = 0;
  19. _nID = 0;
  20. _state = -1;
  21. _channelArray = [[NSMutableArray alloc] initWithCapacity:0];
  22. _info = [[ObSysteminfo alloc] init];
  23. _sysFunction = [[ObSystemFunction alloc] init];
  24. }
  25. return self;
  26. }
  27. @end