Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AndiovisualRecord
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yu_Tung
AndiovisualRecord
Commits
3065ed8a
Commit
3065ed8a
authored
Aug 13, 2020
by
Yu_Tung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version 1.0.7 20200812
parent
830961c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
20 deletions
+62
-20
build.gradle
app/build.gradle
+1
-1
MainPresenter.java
.../com/example/audiovisualrecord/ui/main/MainPresenter.java
+61
-19
No files found.
app/build.gradle
View file @
3065ed8a
...
@@ -9,7 +9,7 @@ android {
...
@@ -9,7 +9,7 @@ android {
targetSdkVersion
29
targetSdkVersion
29
versionCode
1
versionCode
1
versionName
"1.0.
6
"
versionName
"1.0.
8
"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
}
}
buildTypes
{
buildTypes
{
...
...
app/src/main/java/com/example/audiovisualrecord/ui/main/MainPresenter.java
View file @
3065ed8a
...
@@ -333,27 +333,69 @@ public class MainPresenter<V extends MainContract.View> implements MainContract.
...
@@ -333,27 +333,69 @@ public class MainPresenter<V extends MainContract.View> implements MainContract.
@Override
@Override
public
String
onJudgmentPath
(
String
pathCompany
,
String
pathFactoryArea
,
String
pathFactoryClass
,
String
pathClass
,
String
pathShootType
)
{
public
String
onJudgmentPath
(
String
pathCompany
,
String
pathFactoryArea
,
String
pathFactoryClass
,
String
pathClass
,
String
pathShootType
)
{
String
path
=
""
;
String
path
=
""
;
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"SOP導讀"
.
equals
(
pathShootType
))
{
String
SOP1
=
"1_SOP導讀"
;
path
=
"/仁武氯乙烯廠製造一課/1_SOP導讀"
;
String
SOP2
=
"2_SOP審視修訂"
;
}
else
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"SOP審視會議"
.
equals
(
pathShootType
))
{
String
SOP3
=
"3_SOP落實度查核"
;
path
=
"/仁武氯乙烯廠製造一課/2_SOP審視修訂"
;
}
else
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"落實度查核"
.
equals
(
pathShootType
)
&&
"DA"
.
equals
(
pathClass
))
{
if
(
"SOP導讀"
.
equals
(
pathShootType
)){
path
=
"/仁武氯乙烯廠製造一課/3_SOP落實度查核/DA"
;
path
=
"/"
+
pathFactoryClass
+
"/"
+
SOP1
+
"/"
+
pathClass
;
}
else
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"落實度查核"
.
equals
(
pathShootType
)
&&
"DB"
.
equals
(
pathClass
))
{
}
else
if
(
"SOP審視會議"
.
equals
(
pathShootType
)){
path
=
"/仁武氯乙烯廠製造一課/3_SOP落實度查核/DB"
;
path
=
"/"
+
pathFactoryClass
+
"/"
+
SOP2
+
"/"
;
}
else
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"落實度查核"
.
equals
(
pathShootType
)
&&
"DC"
.
equals
(
pathClass
))
{
}
else
if
(
"落實度查核"
.
equals
(
pathShootType
)){
path
=
"/仁武氯乙烯廠製造一課/3_SOP落實度查核/DC"
;
path
=
"/"
+
pathFactoryClass
+
"/"
+
SOP3
+
"/"
+
pathClass
;
}
else
if
(
"仁武氯乙烯廠製造一課"
.
equals
(
pathFactoryClass
)
&&
"落實度查核"
.
equals
(
pathShootType
)
&&
"DD"
.
equals
(
pathClass
))
{
path
=
"/仁武氯乙烯廠製造一課/3_SOP落實度查核/DD"
;
}
else
if
(
"仁武氯乙烯廠製造二課"
.
equals
(
pathFactoryClass
)
&&
"SOP導讀"
.
equals
(
pathShootType
))
{
path
=
"/仁武氯乙烯廠製造二課/1_SOP導讀/"
+
pathClass
;
}
else
if
(
"仁武氯乙烯廠製造二課"
.
equals
(
pathFactoryClass
)
&&
"SOP審視會議"
.
equals
(
pathShootType
))
{
path
=
"/仁武氯乙烯廠製造二課/2_SOP審視修訂"
;
}
else
if
(
"仁武氯乙烯廠製造二課"
.
equals
(
pathFactoryClass
)
&&
"落實度查核"
.
equals
(
pathShootType
))
{
path
=
"/仁武氯乙烯廠製造二課/3_SOP落實度查核/"
+
pathClass
;
}
}
// if (pathFactoryArea.equals("仁武")){
// if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "SOP導讀".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造一課/1_SOP導讀";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "SOP審視會議".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造一課/2_SOP審視修訂";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DA".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DA";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DB".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DB";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DC".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DC";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DD".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DD";
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "SOP導讀".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/1_SOP導讀/"+pathClass;
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "SOP審視會議".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/2_SOP審視修訂";
// }
// else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/3_SOP落實度查核/"+pathClass;
// }
// }else if (pathFactoryArea.equals("麥寮")){
// if ("SOP導讀".equals(pathShootType)){
// path = pathFactoryClass+"/1_SOP導讀/"+pathClass;
// }else if ("SOP審視會議".equals(pathShootType)){
// path = pathFactoryClass + "/2_SOP審視修訂";
// }else if ("落實度查核".equals(pathShootType)){
// path = pathFactoryClass + "/3_SOP落實度查核/" + pathClass;
// }
// }
// if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "SOP導讀".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造一課/1_SOP導讀";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "SOP審視會議".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造一課/2_SOP審視修訂";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DA".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DA";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DB".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DB";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DC".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DC";
// } else if ("仁武氯乙烯廠製造一課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DD".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造一課/3_SOP落實度查核/DD";
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "SOP導讀".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/1_SOP導讀/"+pathClass;
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "SOP審視會議".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/2_SOP審視修訂";
// }
// else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType)) {
// path = "/仁武氯乙烯廠製造二課/3_SOP落實度查核/"+pathClass;
// }
// else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DA".equals(pathClass)) {
// else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DA".equals(pathClass)) {
// path = "/仁武氯乙烯廠製造二課/3_SOP落實度查核/DA";
// path = "/仁武氯乙烯廠製造二課/3_SOP落實度查核/DA";
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DB".equals(pathClass)) {
// } else if ("仁武氯乙烯廠製造二課".equals(pathFactoryClass) && "落實度查核".equals(pathShootType) && "DB".equals(pathClass)) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment