1/* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export class ShareConst { 17 static readonly DURATION: number = 500 18 static readonly DURATION_NUMBER: number = 3000 19 static readonly QUALITY_NUMBER: number = 70 20 static readonly FLAGS_NUMBER: number = 0o2 | 0o100 21 static readonly MODE_NUMBER: number = 0o666 22 static readonly BUFFER_LENGTH: number = 90960 23 static readonly OFFSET_NUMBER: number = 0 24 static readonly POSITION_NUMBER: number = 0 25 static readonly LENGTH_NUMBER: number = 90000 26 static readonly KIND_ID_NUMBER: number = 1 27 static readonly KIND_ID: number = 2 28 static readonly ROTATION_NUMBER: number = 0 29 static readonly DISPLAY_ID: number = 0 30 static readonly LEFT: number = 160 31 static readonly TOP: number = 180 32 static readonly LEFT_NUMBER: number = 550 33 static readonly TOP_NUMBER: number = 300 34 static readonly WIDTH: number = 1450 35 static readonly HEIGHT: number = 880 36 static readonly TITLE_HEIGHT: number = 50 37 static readonly TIMEOUT_NUMBER: number = 60000 38 static readonly REQUEST: string = 'http://123.60.114.86:8090/goods/detail?id=1' 39 static readonly METHOD: string = 'GET' 40}