e> bi.openSession();
@@ -1671,7 +1669,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1671 1669
 	public boolean setExposure (Session session, int exposureValue){
1672 1670
 		Log.d(TAG, "Set setExposure");
1673 1671
 		boolean result = session.isActive();
1674
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1672
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1675 1673
 		if (!bi.isSessionActive())
1676 1674
 			try {
1677 1675
 				bi.openSession();
@@ -1698,7 +1696,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1698 1696
 	public boolean setDriveMode (Session session, int drivemodeValue){
1699 1697
 		Log.d(TAG, "Set setDriveMode");
1700 1698
 		boolean result = session.isActive();
1701
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1699
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1702 1700
 		if (!bi.isSessionActive())
1703 1701
 			try {
1704 1702
 				bi.openSession();
@@ -1725,7 +1723,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1725 1723
 	public boolean setMetering (Session session, int meteringValue){
1726 1724
 		Log.d(TAG, "Set setMetering");
1727 1725
 		boolean result = session.isActive();
1728
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1726
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1729 1727
 		if (!bi.isSessionActive())
1730 1728
 			try {
1731 1729
 				bi.openSession();
@@ -1752,7 +1750,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1752 1750
 	public boolean startBulb (Session session){
1753 1751
 		Log.d(TAG, "Starting releaseShutter");
1754 1752
 		boolean result = session.isActive();
1755
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1753
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1756 1754
 		if (!bi.isSessionActive())
1757 1755
 			try {
1758 1756
 				bi.openSession();
@@ -1783,7 +1781,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1783 1781
 	public boolean stopBulb (Session session){
1784 1782
 		Log.d(TAG, "Starting stopBulb");
1785 1783
 		boolean result = session.isActive();
1786
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1784
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1787 1785
 		if (!bi.isSessionActive())
1788 1786
 			try {
1789 1787
 				bi.openSession();
@@ -1813,7 +1811,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1813 1811
 	public boolean getShutterSpeed (Session session){
1814 1812
 		Log.d(TAG, "getShutterSpeed");
1815 1813
 		boolean result = session.isActive();
1816
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1814
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1817 1815
 		if (!bi.isSessionActive())
1818 1816
 			try {
1819 1817
 				bi.openSession();
@@ -1841,7 +1839,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1841 1839
 	public boolean setShutterSpeed (Session session, int speed){
1842 1840
 		Log.d(TAG, "Starting stopBulb");
1843 1841
 		boolean result = session.isActive();
1844
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1842
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1845 1843
 		if (!bi.isSessionActive())
1846 1844
 			try {
1847 1845
 				bi.openSession();
@@ -1868,7 +1866,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1868 1866
 	public boolean initLiveview (Session session){
1869 1867
 		Log.d(TAG, "Set setMetering");
1870 1868
 		boolean result = session.isActive();
1871
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1869
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1872 1870
 		if (!bi.isSessionActive())
1873 1871
 			try {
1874 1872
 				bi.openSession();
@@ -1895,7 +1893,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1895 1893
 	public boolean startLiveview (Session session){
1896 1894
 		Log.d(TAG, "Set setMetering");
1897 1895
 		boolean result = session.isActive();
1898
-		if (bi.device == null) {log("NO DEVICE OPENED"); return false;}
1896
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return false;}
1899 1897
 		if (!bi.isSessionActive())
1900 1898
 			try {
1901 1899
 				bi.openSession();
@@ -1918,7 +1916,7 @@ public class USBCameraTest extends Activity { //implements Runnable {
1918 1916
 
1919 1917
 		Log.d(TAG, "Starting releaseShutter");
1920 1918
 		boolean result = session.isActive();
1921
-		if (bi.device == null) {log("NO DEVICE OPENED"); return result;}
1919
+		if (bi.getDevice() == null) {log("NO DEVICE OPENED"); return result;}
1922 1920
 		if (!bi.isSessionActive())
1923 1921
 			try {
1924 1922
 				bi.openSession();
@@ -2042,58 +2040,58 @@ public class USBCameraTest extends Activity { //implements Runnable {
2042 2040
 		public void run() {
2043 2041
 //			Log.d(TAG, "running thread " +thread.getName());
2044 2042
 			if (thread.getName().equals(THREAD_SHUTTER)) { 
2045
-				releaseShutter (bi.session);
2043
+				releaseShutter (bi.getSession());
2046 2044
 			}; 		
2047 2045
 			if (thread.getName().equals(THREAD_TEST)) { 
2048
-				testFunction(bi.session);
2046
+				testFunction(bi.getSession());
2049 2047
 			};
2050 2048
 			if (thread.getName().equals(THREAD_STARTBULB)) { 
2051
-				startBulb(bi.session);
2049
+				startBulb(bi.getSession());
2052 2050
 			};
2053 2051
 			if (thread.getName().equals(THREAD_STOPBULB)) { 
2054
-				stopBulb(bi.session);
2052
+				stopBulb(bi.getSession());
2055 2053
 			};
2056 2054
 			if (thread.getName().equals(THREAD_SETSHUTTER)) { 
2057
-				setShutter(bi.session, shutter_value);
2055
+				setShutter(bi.getSession(), shutter_value);
2058 2056
 			};		
2059 2057
 			if (thread.getName().equals(THREAD_SETISO)) { 
2060
-				setISO(bi.session, iso_value);
2058
+				setISO(bi.getSession(), iso_value);
2061 2059
 			};
2062 2060
 			if (thread.getName().equals(THREAD_SETAPERTURE)) { 
2063
-				setAperture(bi.session, aperture_value);
2061
+				setAperture(bi.getSession(), aperture_value);
2064 2062
 			};
2065 2063
 			if (thread.getName().equals(THREAD_FOCUSFORWARD)) { 
2066
-				moveFocusForward(bi.session);
2064
+				moveFocusForward(bi.getSession());
2067 2065
 			};
2068 2066
 			if (thread.getName().equals(THREAD_FOCUSBACKWARD)) { 
2069
-				moveFocusBackward(bi.session);
2067
+				moveFocusBackward(bi.getSession());
2070 2068
 			};
2071 2069
 			if (thread.getName().equals(THREAD_SETPICTURESTYLE)) { 
2072
-				setPictureSyle(bi.session, picturestyle_value);
2070
+				setPictureSyle(bi.getSession(), picturestyle_value);
2073 2071
 			};
2074 2072
 			if (thread.getName().equals(THREAD_SETWHITEBALANCE)) { 
2075
-				setWhiteBalance(bi.session,whitebalance_value);
2073
+				setWhiteBalance(bi.getSession(),whitebalance_value);
2076 2074
 			};
2077 2075
 			if (thread.getName().equals(THREAD_SETEXPOSURE)) { 
2078
-				setExposure(bi.session, exposure_value);
2076
+				setExposure(bi.getSession(), exposure_value);
2079 2077
 			};
2080 2078
 			if (thread.getName().equals(THREAD_SETDRIVEMODE)) { 
2081
-				setDriveMode(bi.session, drivemode_value);
2079
+				setDriveMode(bi.getSession(), drivemode_value);
2082 2080
 			};		
2083 2081
 			
2084 2082
 			if (thread.getName().equals(THREAD_SETMETERING)) { 
2085
-				setMetering(bi.session, metering_value);
2083
+				setMetering(bi.getSession(), metering_value);
2086 2084
 			};
2087 2085
 			
2088 2086
 			if (thread.getName().equals(THREAD_INITLIVEVIEW)) { 
2089
-				initLiveview(bi.session);
2087
+				initLiveview(bi.getSession());
2090 2088
 				liveViewTurnedOn = true;
2091 2089
 			};
2092 2090
 			
2093 2091
 			if (thread.getName().equals(THREAD_STARTLIVEVIEW)) { 
2094 2092
 				while(liveViewTurnedOn)
2095 2093
 				{
2096
-					startLiveview(bi.session);
2094
+					startLiveview(bi.getSession());
2097 2095
 				}
2098 2096
 			};
2099 2097
 			

kodo - Gogs: Go Git Service

Nessuna descrizione

Brightcells: a7cbbf15a7 Update max_length for CharField 8 anni fa
..
0001_initial.py e184e7dd5b add api group_create/group_join 11 anni fa
0002_groupinfo_session_id.py e184e7dd5b add api group_create/group_join 11 anni fa
0003_groupinfo_admin_id.py 7e305483ab add api group_detail/group_lock/group_pass/group_refuse 11 anni fa
0004_auto_20151216_2337.py 7467a3e68a add api group_update/group_remove 11 anni fa
0005_groupuserinfo_current_id.py f587f0a48f user can just see photo after he joined the group & zh_Hans replace zh_CN in settings.py 11 anni fa
0006_groupuserinfo_avatar.py 4afdb94e20 add avatar for GroupUserInfo 11 anni fa
0007_auto_20160112_2040.py df1df69fe3 add api upgrade/splash 10 anni fa
0008_photocommentinfo.py c72d89f6e5 add api comment_submit_api/comment_list_api/thumbup_submit_api/thumbup_list_api/thumbup_cancel_api 10 anni fa
0009_photothumbupinfo.py c72d89f6e5 add api comment_submit_api/comment_list_api/thumbup_submit_api/thumbup_list_api/thumbup_cancel_api 10 anni fa
0010_auto_20160120_1830.py a121b75ff2 add db_index=True for status field 10 anni fa
0011_auto_20160302_2048.py da2a81fff1 add api pai2_home 10 anni fa
0012_groupinfo_group_avatar.py da2a81fff1 add api pai2_home 10 anni fa
0013_groupinfo_group_default_avatar.py f6a88c632b add group_default_avatar field for GroupInfo 10 anni fa
0014_auto_20160308_2347.py ca727b0362 store/return w/h for photo 10 anni fa
0015_groupphotoinfo_avatar.py 88049b12db store/return more field for photo 10 anni fa
0016_auto_20160321_1535.py 537bd9bd41 add api group_quit_api 10 anni fa
0017_groupphotoinfo_photo_from.py dbea356558 add photo_from field for GroupPhotoInfo and return photo_from for some api 10 anni fa
0018_auto_20160417_2246.py d64b3c216b add and return photo_thumbnail2 relative 10 anni fa
0019_auto_20160422_1322.py 102152ca4a add api lensman_photo_bought & modify api wx_order_create_api and adjust return field 10 anni fa
0020_groupphotoinfo_session_id.py 102152ca4a add api lensman_photo_bought & modify api wx_order_create_api and adjust return field 10 anni fa
0021_photocommentinfo_to_uid.py fa36c26ce4 extend param to_uid for comment_submit_api 10 anni fa
0022_auto_20160901_1439.py 6199c8f7ad add api lensman_origin_wanted_api/lensman_origin_photo_upload_api 10 anni fa
0023_groupinfo_group_initio.py e06dc10006 Make join session group by scan group qrcode fetch group photos initio 10 anni fa
0024_auto_20161214_1329.py f724e0f9c0 Add tour guide apis 10 anni fa
0025_auto_20161214_1659.py ad69866b26 Add tour guide's name and phone in GroupInfo 10 anni fa
0026_auto_20161216_1301.py 034acddb68 Add total_persons for GroupInfo 10 anni fa
0027_groupuserinfo_authority.py 88f0697a89 Add authority field for GroupUserInfo 10 anni fa
0028_auto_20161220_1815.py 272f181c50 Makemigrations 10 anni fa
0029_auto_20161224_1616.py 564ff620d7 Add unique_together = (('group_id', 'user_id'),) for GroupUserInfo 10 anni fa
0030_groupinfo_gather_location.py 90d377ee6e Add gather location 10 anni fa
0031_groupphotoinfo_photo_md5.py d824fbd441 Add photo_md5 for GroupPhotoInfo 9 anni fa
0032_groupinfo_gather_screenshot.py e8cd9652b7 Add gather_screenshot for api tg_group_gather_start_api 9 anni fa
0033_groupphotoinfo_photo_id.py 3c6e34823b Add photo_id for GroupPhotoInfo replaced pk 9 anni fa
0034_auto_20170411_1156.py 14d5d63e3b Add nomark/origin price for GroupPhotoInfo 9 anni fa
0035_groupuserinfo_admin_status.py 9e4ac4fd3b Add admin_status for GroupUserInfo 9 anni fa
0036_groupphotoinfo_has_watermark.py 3b92e37156 Add field has_watermark for GroupPhotoInfo 9 anni fa
0037_auto_20170821_1600.py bf678fc740 Add unique_together = (('session_id', 'group_from'),) 9 anni fa
0038_auto_20170821_1608.py 7060597dd6 Add unique_together = (('group_id', 'user_id', 'photo_md5'),) for GroupPhotoInfo 9 anni fa
0039_auto_20170821_1613.py 9f4c919c29 Add unique_together = (('photo_id', 'user_id'),) for PhotoThumbUpInfo 9 anni fa
0040_auto_20170825_1342.py e5ad69259f Add unique_together = (('group_id', 'session_id', 'user_id', 'photo_id', 'lensman_photo_id'),) for GroupPhotoOrderInfo 9 anni fa
0041_auto_20170825_1342.py e5ad69259f Add unique_together = (('group_id', 'session_id', 'user_id', 'photo_id', 'lensman_photo_id'),) for GroupPhotoOrderInfo 9 anni fa
0042_groupphotoinfo_lensman_type.py a6195fa70d Add outtake lensman 9 anni fa
0043_auto_20180101_2220.py 9bb56c50cc Makemigrations 8 anni fa
0044_auto_20180103_0446.py a7cbbf15a7 Update max_length for CharField 8 anni fa
__init__.py e184e7dd5b add api group_create/group_join 11 anni fa
kodo - Gogs: Go Git Service

暂无描述

Brightcells: 627187a7d7 Update Kodo 8 年之前
..
page 627187a7d7 Update Kodo 8 年之前