public RoleDepthCam() : base(RoleName) { SetName(RoleName); _instance = this; { List <HomeOS.Hub.Platform.Views.VParamType> retVals = new List <HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.jpegimage, "byteImg", null)); AddOperation(new Operation(RoleDepthCam.OpGetLastDepthImgName, null, retVals)); } { List <HomeOS.Hub.Platform.Views.VParamType> retVals = new List <HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.jpegimage, "byteImg", null)); AddOperation(new Operation(RoleDepthCam.OpRcvDepthStreamName, null, retVals, true)); } { List <HomeOS.Hub.Platform.Views.VParamType> retVals = new List <HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.list, "depthArray", null)); AddOperation(new Operation(RoleDepthCam.OpGetLastDepthArrayName, null, retVals)); } { List <HomeOS.Hub.Platform.Views.VParamType> retVals = new List <HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.list, "depthArray", null)); AddOperation(new Operation(RoleDepthCam.OpRcvDepthArrayName, null, retVals, true)); } }
public RoleDepthCam() : base(RoleName) { SetName(RoleName); _instance = this; { List<HomeOS.Hub.Platform.Views.VParamType> retVals = new List<HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.jpegimage, "byteImg", null)); AddOperation(new Operation(RoleDepthCam.OpGetLastDepthImgName, null, retVals)); } { List<HomeOS.Hub.Platform.Views.VParamType> retVals = new List<HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.jpegimage, "byteImg", null)); AddOperation(new Operation(RoleDepthCam.OpRcvDepthStreamName, null, retVals, true)); } { List<HomeOS.Hub.Platform.Views.VParamType> retVals = new List<HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.list, "depthArray", null)); AddOperation(new Operation(RoleDepthCam.OpGetLastDepthArrayName, null, retVals)); } { List<HomeOS.Hub.Platform.Views.VParamType> retVals = new List<HomeOS.Hub.Platform.Views.VParamType>(); retVals.Add(new ParamType(ParamType.SimpleType.list, "depthArray", null)); AddOperation(new Operation(RoleDepthCam.OpRcvDepthArrayName, null, retVals, true)); } }