From 9322f02c16d4a999fd4e9df96e200c9cf0fddf30 Mon Sep 17 00:00:00 2001
From: jiazx0107 <jiazx0107@163.com>
Date: 星期四, 04 十二月 2025 11:31:36 +0800
Subject: [PATCH] Merge branch 'master' of http://124.71.187.17:8299/r/fzzy-igdss
---
fzzy-igdss-web/src/main/java/com/bstek/dorado/core/DoradoAbout.java | 70 +++++++++++++++++++++++++++++++++++
1 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/fzzy-igdss-web/src/main/java/com/bstek/dorado/core/DoradoAbout.java b/fzzy-igdss-web/src/main/java/com/bstek/dorado/core/DoradoAbout.java
new file mode 100644
index 0000000..3a47283
--- /dev/null
+++ b/fzzy-igdss-web/src/main/java/com/bstek/dorado/core/DoradoAbout.java
@@ -0,0 +1,70 @@
+/*
+ * This file is part of Dorado 7.x (http://dorado7.bsdn.org).
+ *
+ * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved.
+ *
+ * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html)
+ * and BSDN commercial (http://www.bsdn.org/licenses) licenses.
+ *
+ * If you are unsure which license is appropriate for your use, please contact the sales department
+ * at http://www.bstek.com/contact.
+ */
+
+package com.bstek.dorado.core;
+
+import java.rmi.dgc.VMID;
+
+import org.apache.commons.lang.StringUtils;
+
+/**
+ *
+ *
+ *璋冩暣鏄剧ず淇℃伅
+ *
+ * 鐢ㄤ簬鑾峰彇鍚勭Dorado鍩烘湰淇℃伅鐨勫伐鍏风被銆�
+ * @author Benny Bao (mailto:benny.bao@bstek.com)
+ * @since Feb 27, 2007
+ */
+public class DoradoAbout {
+ private static String instanceId = new VMID().toString();
+ private static long instantiationTime = System.currentTimeMillis();
+
+ /**
+ * 杩斿洖浜у搧鍚嶇О銆�
+ */
+ public static String getProductTitle() {
+ return "dorado";
+ }
+
+ /**
+ * 杩斿洖浜у搧鎻愪緵鍟嗐��
+ */
+ public static String getVendor() {
+ return "dorado";
+ }
+
+ /**
+ * 杩斿洖浜у搧鐗堟湰鍙枫��
+ */
+ public static String getVersion() {
+ Package pkg = DoradoAbout.class.getPackage();
+ String version = null;
+ if (pkg != null) version = pkg.getImplementationVersion();
+ if (StringUtils.isEmpty(version)) version = instanceId;
+ return version;
+ }
+
+ /**
+ * 杩斿洖dorado鐨勫疄渚媔d銆�
+ */
+ public static String getInstanceId() {
+ return instanceId;
+ }
+
+ /**
+ * 杩斿洖璇orado鐨勫疄渚嬬殑鍒涘缓鏃堕棿銆�
+ */
+ public static long getInstantiationTime() {
+ return instantiationTime;
+ }
+}
--
Gitblit v1.9.3