added first second-thing

This commit is contained in:
Manuel Friedli 2014-07-16 16:39:37 +02:00
parent 69a843fc29
commit 8badcc549f

View file

@ -15,114 +15,152 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
Hier Zahlenbeispiele
-----------
-----------
--#-----#--
-##----##--
--#-----#--
--#-----#--
--#-----#--
--#-----#--
-###---###-
-----------
--#--
-##--
--#--
--#--
--#--
--#--
-###-
-###-
#---#
----#
---#-
--#--
-#---
#####
#####
---#-
--#--
---#-
----#
#---#
-###-
---#-
--##-
-#-#-
#--#-
#####
---#-
---#-
#####
#----
####-
----#
----#
#---#
-###-
--##-
-#---
#----
####-
#---#
#---#
-###-
#####
----#
---#-
--#--
-#---
-#---
-#---
-###-
#---#
#---#
-###-
#---#
#---#
-###-
-###-
#---#
#---#
-####
----#
---#-
-##--
-###-
#---#
#--##
#-#-#
##--#
#---#
-###-
*/
var h = {
"_": {},
"_es_isch": {1:[1,2,4,5,6,7]},
"_genau": {3:[7,8,9,10,11]},
"_ab": {4:[4,5]},
"_vor": {4:[1,2,3]},
"_haubi": {4:[7,8,9,10,11]},
"_5": {1:[9,10,11]},
"_10": {2:[9,10,11]},
"_15": {2:[1,2,3,4,5,6]},
"_20": {3:[1,2,3,4,5,6]}
"vorne0": {
3:[2,3,4],
4:[1,5],
5:[1,4,5],
6:[1,3,5],
7:[1,2,5],
8:[1,5],
9:[2,3,4]
},
"hinten0": {
3:[8,9,10],
4:[7,11],
5:[7,10,11],
6:[7,9,11],
7:[7,8,11],
8:[7,11],
9:[8,9,10]
},
"vorne1": {
3:[3],
4:[2,3],
5:[3],
6:[3],
7:[3],
8:[3],
9:[2,3,4]
},
"hinten1": {
3:[9],
4:[8,9],
5:[9],
6:[9],
7:[9],
8:[9],
9:[8,9,10]
},
"vorne2": {
3:[2,3,4],
4:[1,5],
5:[5],
6:[4],
7:[3],
8:[2],
9:[1,2,3,4,5]
},
"hinten2": {
3:[8,9,10],
4:[7,11],
5:[11],
6:[10],
7:[9],
8:[8],
9:[7,8,9,10,11]
},
"vorne3": {
3:[1,2,3,4,5],
4:[4],
5:[3],
6:[4],
7:[5],
8:[1,5],
9:[2,3,4]
},
"hinten3": {
3:[7,8,9,10,11],
4:[10],
5:[9],
6:[10],
7:[11],
8:[7,11],
9:[8,9,10]
},
"vorne4": {
3:[4],
4:[3,4],
5:[2,4],
6:[1,4],
7:[1,2,3,4,5],
8:[4],
9:[4]
},
"hinten4": {
3:[10],
4:[9,10],
5:[8,10],
6:[7,10],
7:[7,8,9,10,11],
8:[10],
9:[10]
},
"vorne5": {
3:[1,2,3,4,5],
4:[1],
5:[1,2,3,4],
6:[5],
7:[5],
8:[1,5],
9:[2,3,4]
},
"hinten5": {
3:[7,8,9,10,11],
4:[7],
5:[7,8,9,10],
6:[11],
7:[11],
8:[7,11],
9:[8,9,10]
},
"hinten6": {
3:[9,10],
4:[8],
5:[7],
6:[7,8,9,10],
7:[7,11],
8:[7,11],
9:[8,9,10]
},
"hinten7": {
3:[7,8,9,10,11],
4:[11],
5:[10],
6:[9],
7:[8],
8:[8],
9:[8]
},
"hinten8": {
3:[8,9,10],
4:[7,11],
5:[7,11],
6:[8,9,10],
7:[7,11],
8:[7,11],
9:[8,9,10]
},
"hinten9": {
3:[8,9,10],
4:[7,11],
5:[7,11],
6:[8,9,10,11],
7:[11],
8:[10],
9:[8,9]
}
};
var layout = {
"version": 3,
@ -140,36 +178,7 @@ var layout = {
'ZWÖUFINAUHR'
],
"seconds": {
"0": []
},
"permanent": h._es_isch,
"minutes": {
"0": h._genau,
"5,6,7,8,9": [h._5, h._ab],
"10,11,12,13,14": [h._10, h._ab],
"15,16,17,18,19": [h._15, h._ab],
"20,21,22,23,24": [h._20, h._ab],
"25,26,27,28,29": [h._5, h._vor, h._haubi],
"30,31,32,33,34": h._haubi,
"35,36,37,38,39": [h._5, h._ab, h._haubi],
"40,41,42,43,44": [h._20, h._vor],
"45,46,47,48,49": [h._15, h._vor],
"50,51,52,53,54": [h._10, h._vor],
"55,56,57,58,59": [h._5, h._vor]
},
"hours": {
"0,12": {10:[1,2,3,4,5,6]},
"1,13": {5:[1,2,3]},
"2,14": {5:[4,5,6,7]},
"3,15": {5:[9,10,11]},
"4,16": {6:[1,2,3,4,5]},
"5,17": {6:[6,7,8,9]},
"6,18": {7:[1,2,3,4,5,6]},
"7,19": {7:[7,8,9,10,11]},
"8,20": {8:[1,2,3,4,5]},
"9,21": {8:[6,7,8,9]},
"10,22": {9:[1,2,3,4]},
"11,23": {9:[8,9,10,11]}
"0": [h.vorne0, h.hinten0]
}
};
window,_uhr.register('de_CH_seconds', layout);