Only this pageAll pages
Powered by GitBook
Couldn't generate the PDF for 152 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

iCube Learning V.1.0.2

Loading...

Loading...

Loading...

iCube Platform

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

What is iCube?

ไอคิวบ์คืออะไร

iCube (Industrial Informatics & Intelligent Systems) คือ บริษัทที่ให้บริการแพลตฟอร์มการบริหารจัดการข้อมูลสำหรับโรงงานอุตสาหกรรม (Plant Information Management System, PIMS) โดยแพลตฟอร์มที่จะเข้ามาช่วยแก้ไขปัญหาการทำงานซ้ำซ้อนของพนักงานในโรงงาน ไม่ว่าจะเป็นการกรอกข้อมูล, การจัดการข้อมูล และการบริหารข้อมูลในโรงงาน ทำให้การทำงานมีประสิทธิภาพมากยิ่งขึ้น ทั้งนี้แพลตฟอร์มถูกดีไซต์บนคอนเซ็ปต์ Automation as a Service (AaaS) ที่ให้บริการเซอร์วิสผ่านดาต้าแพลตฟอร์มหรือ iCube Server ทำให้ผู้ใช้บริการสามารถเลือกรับบริการตามความต้องการได้อย่างอิสระ ตอบสนองความต้องการของผู้ใช้บริการงานได้อย่างเหมาะสมที่สุด

Delete Mapping

การลบ Mapping

การลบ Mapping มี 3 ขั้นตอน ดังนี้

  1. Select : เลือก Mapping ที่ต้องการลบ

iCube Server : Mapping list
  1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Mapping และกดปุ่ม Delete

iCube Server : Mapping information
  1. Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Mapping ที่เลือก

Provider

การจัดการและตั้งค่าการให้บริการข้อมูล

Provider : การเปิดปิด Tag/TagRelation ในระบบที่สามารถเรียกใช้งานผ่าน RESTful API เพื่อให้บริการข้อมูลกับผู้ใช้

Tag Provider

iCube Server : Tag Provider

TagRelation Provider

Usage

การปรับ Toggle เพื่อเปิดปิด การใช้งานผ่าน RESTful API

  • Active : เปิดการใช้งานผ่าน RESTful API

  • Inactive : ปิดการใช้งานผ่าน RESTful API

  • Active / Inactive All : เปิดการใช้งานผ่าน RESTful API ทั้งหมดที่มีใน iCube Server 1. Click : กดปุ่ม Status 2. Select : เลือก Status ที่ต้องการตั้งค่า 3. Submit : กดปุ่ม Submit เพื่อบันทึกการตั้งค่า

Update Mapping

การแก้ไข Mapping

การแก้ไข Mapping มี 4 ขั้นตอน ดังนี้

  1. Select : เลือก Mapping ที่ต้องการแก้ไข

iCube Server : Mapping list
  1. Information : ทำการแก้ไข Mapping

iCube Server : Mapping information
  1. Validate : คลิกปุ่ม Check Status ที่หัวข้อ Validate Execution

  1. Save : กดปุ่ม Save เพื่อบันทึกการแก้ไข

Value & Value Relation editor

Value editor และ Relation value editor

Value editor

Value editor : หน้าต่างสำหรับแสดงและจัดการข้อมูลที่เก็บอยู่ในแท็ก โดยมีคุณสมบัติของข้อมูลประกอบด้วย

  • Tag : ชื่อแท็กที่ใช้สำหรับจัดเก็บข้อมูล

Data

การจัดการข้อมูลใน Tag และ TagRelation

Value & Value Relation editor : หน้าต่างสำหรับช้แสดงข้อมูลที่ถูกจัดเก็บใน Tag และ TagRelation โดยข้อมูลที่แสดงนั้นจะอ้างอิงจากค่าที่ถูกเก็บในระบบ โดยมีวิธีการจัดการแท็กแบ่งออกเป็น 4 ส่วน ได้แก่

Function
Description

Interface configuration

การตั้งค่าการเชื่อมต่อของระบบกับอินเตอร์เฟส เพื่อปรับแต่งการทำงานและการสื่อสารระหว่างระบบหรือแพลตฟอร์มต่าง ๆ ให้สามารถทำงานร่วมกันได้อย่างมีประสิทธิภาพ

Interface Configuration : การเชื่อมต่อที่ใช้ในการสื่อสารและทำงานกับระบบหรือโปรแกรม ทำหน้าที่เป็นตัวกลางที่ช่วยให้ผู้ใช้สามารถเข้าถึงและโต้ตอบกับข้อมูลจากแหล่งต่าง ๆ ได้

Function

Function
Description

Update Interface

การแก้ไข Interface

การแก้ไข Interface มี 4 ขั้นตอน ดังนี้

  1. Select : เลือก Interface ที่ต้องการแก้ไข

  1. Information : ทำการแก้ไข Interface

iCube Learning

การเรียนรู้แพลตฟอร์มการบริหารจัดการข้อมูลโรงงานอุตสาหกรรม ที่จะทำให้การจัดการและการนำข้อมูลไปใช้งานการขับเคลื่อนกระบวนการผลิตเป็นเรื่องง่าย

Welcome !

ยินดีต้อนรับสู่ iCube Learning แหล่งรวบรวมวิธีการใช้งานแพลตฟอร์มและ Use Case ในการใช้งานจริง ในรูปแบบต่างๆ ในโรงงานอุตสาหกรรม เพื่อให้ทุกท่านได้เข้าถึงวิธีใหม่ๆ ในการจัดการข้อมูลด้วยตัวเอง และนำไปสู่การเป็น Data-Driven Manufacturing อย่างแท้จริง

Manufacturing Data Management Platform

Update Tag

การแก้ไขแท็ก

การแก้ไขแท็กมี 3 ขั้นตอน ดังนี้

  1. Select : เลือก Tag ที่ต้องการแก้ไข

  1. Edit : แก้ไขรายละเอียดของแท็ก

Integration

การเชื่อมต่อกับแพลตฟอร์มอื่น ๆ

What is Integration?

Integration: ฟังก์ชันที่มีหน้าที่ในการเชื่อมต่อกับแพลตฟอร์มอื่น ๆ ผ่าน RESTful API โดยสามารถดึงข้อมูลและทราบรายละเอียดต่าง ๆ ที่เกี่ยวข้องจากระบบภายนอกได้อย่างมีประสิทธิภาพ

Tag/ Tag Relation Provider

Delete TagRelation

การลบ TagRelation

การลบกลุ่ม TagRelation มี 2 ขั้นตอน ดังนี้

  1. Select : เลือก TagRelation ที่ต้องการลบ

  1. Delete : คลิกปุ่ม Delete

Overview

iCube Server : Overview

iCube Server Overall : หน้าหลักสำหรับการมอนิเตอร์สถานะการทำงานของ Service ต่าง ๆ บนแพลตฟอร์ม iCube โดยจะแสดงข้อมูลสำคัญที่เกี่ยวข้องกับประสิทธิภาพและการทำงานของแต่ละบริการ ประกอบด้วยหัวข้อหลัก 3 รายการ ได้แก่

Factory info
  • Factory name : ชื่อบริษัทที่ใช้บริการ

Get service list all

Retrieves the base URL information and provides links to additional resources or endpoint categories.

Example URL

Last Update: 1 NOV 2024

Get Base URL Information

Method: GET

URL: {{base_url}}

Delete Tag

การลบแท็ก

การลบแท็กมี 2 ขั้นตอน ดังนี้

  1. Select : เลือก Tag ที่ต้องการลบ

  1. Delete : คลิกปุ่ม Delete

Interface

ฟังก์ชันการเชื่อมต่อข้อมูล

Interface : ส่วนเชื่อมต่อที่ใช้ในการสื่อสารและทำงานกับระบบหรือโปรแกรม ทำหน้าที่เป็นตัวกลางที่ช่วยให้ผู้ใช้สามารถเข้าถึงและโต้ตอบกับข้อมูลจากแหล่งต่าง ๆ ได้

Function

Function
Description

Delete Data

การลบข้อมูลในแท็กและเเท็กลีเรชัน

การลบข้อมูลมี 3 ขั้นตอน ดังนี้

  1. Select : เลือก Tag/TagRelation ที่ต้องการลบข้อมูล

  1. Click : คลิกข้อมูลที่ต้องการลบ

Mapping configuration

รายละเอียด Mapping

Mapping : การตั้งค่าการแมป (Mapping) เพื่อกำหนดฟิลด์ข้อมูลหรือแท็กจากระบบหนึ่งไปยัง iCube Server โดยใช้ Interface ในการเชื่อมต่อกับแหล่งข้อมูล ซึ่งช่วยให้ข้อมูลสามารถถูกรวบรวมและประมวลผลได้อย่างถูกต้องและมีประสิทธิภาพในการจัดการข้อมูลระหว่างระบบต่าง ๆ

Function

Function
Description

What is TagRelation?

เเท็กลีเรชันคืออะไร

TagRelation : ชื่อ TagRelation ที่ใช้สำหรับการจัดเก็บข้อมูลจากหลายรายการ เพื่อนำมารวบรวมเป็นชุดข้อมูลเดียว

Attribute

Attribute
Description

Get connection

Checks the connection status to confirm the API is accessible and operational.

Example URL

Last Update: 7 NOV 2024

Connect

Method: GET

URL: {{base_url}}/connect

Factory type : ประเภทบริษัทที่ใช้บริการ

  • Factory node : เเสดงประเภท Node ที่ผู้ใช้บริการติดตั้ง

  • Factory token : token สำหรับใช้งานร่วมกับบริการอื่นๆ ของแพลตฟอร์ม

  • Server info
    • Tag : แสดงจำนวนแท็กที่มีอยู่และจำนวนแท็กสูงสุด

    • Tag Relation : แสดงจำนวนแท็กรีเลชันที่มีอยู่และจำนวนแท็กรีเลชันสูงสุด

    • Interface : แสดงจำนวนอินเตอร์เฟสที่มีอยู่และจำนวนอินเตอร์เฟสสูงสุด

    • Integration : แสดงจำนวนอินทิเกรชั่นที่มีอยู่และจำนวนอินทิเกรชั่นสูงสุด

    • User : แสดงจำนวนผู้ใช้ที่สร้างและจำนวนผู้ใช้สูงสุด

    • Form : แสดงจำนวนฟอร์มที่สร้างและจำนวนฟอร์มสูงสุด

    • Monitor : แสดงจำนวนมอนิเตอร์ที่สร้างและจำนวนมอนิเตอร์สูงสุด

    • Status : แสดงสถานะของระบบและบริการของแพลตฟอร์ม

    Monitor
    • API : แสดงจำนวนการเรียกใช้งานและระยะเวลาในการเรียกใช้งาน API

    • Error : แสดงจำนวนข้อผิดพลาด (Error) และระยะเวลาที่เกิดขึ้นในระบบ

    • Latency: แสดงค่าหน่วงเวลาในการตอบสนองของระบบ

    iCube Server : Overview
    Interface configuration

    การตั้งค่าการเชื่อมต่อของระบบกับอินเตอร์เฟส เพื่อปรับแต่งการทำงานและการสื่อสารระหว่างระบบหรือแพลตฟอร์มต่าง ๆ ให้สามารถทำงานร่วมกันได้อย่างมีประสิทธิภาพ

    Mapping configuration

    การตั้งค่าการแมป เพื่อกำหนด ฟิลด์ข้อมูลหรือแท็กจากระบบหนึ่งไปยัง iCube Server

    iCube Server : Interface list
    iCube Server : Interface config
    iCube Server : Confirm
    iCube Server : Delete success
    iCube Server : TagRelation Provider
    iCube Server : Mapping information
    iCube Server : Save success

    Column name

    คอลัมน์ที่ใช้สำหรับจัดเก็บข้อมูล

    Quality

    คุณภาพของข้อมูลที่เกิดจากการกระทำกับข้อมูล

    Status

    สถานะที่ใช้แบ่งประเภทของข้อมูล

    Timestamp

    ช่วงเวลาของข้อมูลที่บันทึกเข้าระบบ

    TagRelation

    iCube Server : TagRelation value

    ชื่อ TagRelation ที่ใช้สำหรับจัดเก็บข้อมูล

    การลบข้อมูลออกจากสู่ Tag และ TagRelation ในระบบ

    การดึงข้อมูลเพื่อแสดงรายละเอียดของข้อมูลที่มีอยู่ในระบบ

    การเพิ่มข้อมูลเข้าสู่ Tag และ TagRelation ในระบบ

    การอัพเดตข้อมูลเข้าสู่ Tag และ TagRelation ในระบบ

    Query Data
    Add Data
    Update Data
    iCube Server : Value editor
    Delete Data

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    object

    Contains endpoint links for additional resources.

    tag

    string

    URL link to the /tag endpoint or tag-related data.

    https://api.icube.co.th/integration/webapi
    {
        "data": {
            "tag": "string"
        }
    }
    
    Response Example:

    Response Details:

    Object
    Data Type
    Description

    result

    bool

    Connection status message

    https://api.icube.co.th/integration/webapi/connect
    {
        "result": bool
    }
    

    Query time : ช่วงเวลาในการอ่านข้อมูลมาเเสดงผล

  • Value : ค่าที่จัดเก็บอยู่ในแท็ก โดยจัดเก็บในรูปแบบ Time Series

  • Tag Type : ประเภทของข้อมูลที่จัดเก็บในแท็ก

  • Timestamp : ช่วงเวลาของข้อมูลที่บันทึกเข้าระบบ

  • Quality : คุณภาพของข้อมูลที่เกิดจากการกระทำกับข้อมูล

  • Status : สถานะที่ใช้แบ่งประเภทของข้อมูล

  • Value Relation editor

    iCube Server : Value Relation editor

    Value Relation editor : หน้าต่างสำหรับแสดงและจัดการข้อมูลที่เก็บอยู่ในแท็กรีเลชัน โดยมีคุณสมบัติของข้อมูลประกอบด้วย

    • TagRelation : ชื่อแท็กรีเลชันที่ใช้สำหรับจัดเก็บข้อมูล

    • Table Type : ประเภทของแท็กรีเลชันที่เกิดจากการเก็บข้อมูลโดยตรงหรือแท็กรีเลชันที่เกิดจากการเขียน Query ในการแสดงผล

    • Data Type : รูปแบบการจัดการข้อมูลของแท็กรีเลชัน

    • Query time : ช่วงเวลาในการอ่านข้อมูลมาเเสดงผล

    • Identity : คอลัมน์ที่จัดเก็บข้อมูล ใช้ระบุเป็นคีย์สำหรับการจัดการข้อมูลร่วมกับ Timestamp

    • Field : คอลัมน์ที่จัดเก็บข้อมูลที่ไม่มีผลต่อการจัดการข้อมูล

    • Timestamp : ช่วงเวลาของข้อมูลที่บันทึกเข้าระบบ

    • Quality : คุณภาพของข้อมูลที่เกิดจากการกระทำกับข้อมูล

    • Status : สถานะที่ใช้แบ่งประเภทของข้อมูล

    Function

    Function
    Description
    Query Data

    การดึงข้อมูลเพื่อแสดงรายละเอียดของข้อมูลที่มีอยู่ในระบบ

    Add Data

    การเพิ่มข้อมูลเข้าสู่แท็กหรือแท็กรีเลชันในระบบ

    Update Data

    การอัพเดตข้อมูลเข้าสู่แท็กหรือแท็กรีเลชันในระบบ

    Delete Data

    การลบข้อมูลออกจากสู่แท็กหรือแท็กรีเลชันในระบบ

    iCube Server : Value editor

    การสร้าง Interface เพื่อเชื่อมต่อกับเเหล่งข้อมูล

    การอัพเดต Interface ที่ได้สร้างขึ้น

    การลบ Interface ที่ได้สร้างขึ้น

    Check Status : กดปุ่ม Check Status เพื่อตรวจสอบการเชื่อมต่อ

  • Save : กดปุ่ม Save เพื่อบันทึกการแก้ไข

  • iCube Server : Update success
    iCube Server : Interface list
    iCube Server : Interface information

    - Powering Data-Driven Manufacturing -

    iCube Platform Ecosystem

    iCube Platform design based on Microservice Architecture, Uptime and Downtime with 99.9% SLA

    iCube Contents

    Website & Facebook

    E-Learning & Online Contents

    iCube Contacts

    Address: 110/1 อาคารเคเอกซ์ ชั้นที่ 12 ห้องเลขที่ 1225 ถนนกรุงธนบุรี แขวงบางลำภูล่าง เขตคลองสาน กรุงเทพมหานคร 10600

    Email: [email protected]

    Tel: 065-198-2415

    Save : คลิกปุ่ม Save เพื่อบันทึกการแก้ไข

    iCube Server : Update success
    iCube Server : Tag value list
    iCube Server : Tag information
    iCube Server : Tag/TagRelation Provider list

    Publisher

    iCube Server : Publisher

    Function

    Function
    Description

    การเปิดปิด Tag/TagRelation ในระบบที่สามารถเรียกใช้งานผ่าน RESTful API เพื่อให้บริการข้อมูลหรือฟังก์ชันต่าง ๆ ให้กับผู้ใช้หรือตัวระบบอื่น ๆ

    ฟังก์ชันที่ใช้ในการส่งข้อมูลไปยังแหล่งข้อมูลภายนอก ช่วยให้สามารถเผยแพร่หรือส่งต่อข้อมูลไปยังระบบหรือแพลตฟอร์มอื่น ๆ

    Confirm : คลิกปุ่ม Delete อีกครั้งเพื่อยืนยัน

    iCube Server : Confirm delete
    iCube Server : Delete success
    iCube Server : TagRelation list
    iCube Server : TagRelation information

    Confirm : คลิกปุ่ม Delete อีกครั้งเพื่อยืนยัน

    iCube Server : Confirm delete
    iCube Server : Delete success
    iCube Server : Tag value list
    iCube Server : Tag information

    Delete : คลิกปุ่ม Delete เพื่อลบ

    iCube Server : Button delete value
    1. Preview: หลังจากกดปุ่ม Delete ระบบจะแสดงหน้า Preview เพื่อแสดงข้อมูลที่กำลังจะถูกลบ ให้ผู้ใช้ตรวจสอบรายละเอียดก่อนยืนยันการลบข้อมูล

    iCube Server : Pop-up preview
    1. Confirm : ยืนยันการลบข้อมูล

    iCube Server : Confirm
    iCube Server : Delete success
    iCube Server : TagRelation editor
    iCube Server : TagRelation editor

    การสร้าง Mapping เพื่อกำหนดฟิลด์ข้อมูลหรือแท็กจากระบบหนึ่งไปยัง iCube Server

    การปรับปรุงหรือแก้ไข Mapping ที่สร้างขึ้นแล้ว

    การลบ Mapping ที่สร้างขึ้น

    iCube Server : Mapping

    Update Data

    การแก้ไขข้อมูลในแท็กและ

    การแก้ไขข้อมูลมี 4 ขั้นตอน ดังนี้

    1. Select : เลือก Tag/TagRelation ที่ต้องการแก้ไขข้อมูล

    iCube Server : TagRelation value
    1. Click : เลือกข้อมูลที่ต้องการแก้ไขและเลื่อนไปด้านขวา กดไอคอนปากกาเพื่อแก้ไข

    iCube Server : TagRelation editor
    1. Edit : แก้ไขข้อมูล โดยการแก้ไขมี 2 ลักษณะได้แก่

      3.1 Text box : ช่องสำหรับการกรอกข้อมูล

      3.2 Selection Box : ช่องสำหรับเลือกข้อมูล

    1. Save : คลิกปุ่มเครื่องหมายถูก (Save) หลังจากเเก้ไขเสร็จสิ้น

    Introduction

    แนะนำแพลตฟอร์มไอคิวบ์

    แพลตฟอร์มไอคิวบ์ เป็น แพลตฟอร์มการบริหารและจัดการข้อมูลกระบวนการผลิต (Plant Information Management System, PIMS) โดยออกแบบบนแนวคิดที่ต้องการนำข้อมูลในโรงงานทั้งโรงงานมาไว้บนสมาร์ทดีไวซ์ เพื่อให้งานต่อการเข้าถึงข้อมูล, จัดการข้อมูล และบริหารข้อมูลอย่างทันท่วงที รวมถึงการเชื่อมต่อข้อมูลกับแพลตฟอร์มอื่นๆ ได้อย่างง่ายดาย

    หากต้องการรู้ว่า iCube คืออะไร

    What is iCube?

    หากต้องการเริ่มต้นใช้งาน

    iCube Server

    Create Mapping

    การสร้าง Mapping

    การสร้าง Mapping มี 3 ขั้นตอน ดังนี้

    1. Click : กดสร้าง Mapping (+ Mapping)

    iCube Server : Button add mapping
    1. Information : ตั้งชื่อ Mapping เเละ เลือก Interface โดยการ Mapping จะเเตกต่างกันไปตามประเภทของ Interface

    iCube Server : Mapping information
    1. Validate : คลิกปุ่ม Check Status ที่หัวข้อ Validate Execution

    1. Save : กดปุ่ม Save เพื่อบันทึกการสร้าง Mapping

    Add Data

    การเพิ่มข้อมูลลงในแท็กและแท็กรีเลชัน

    การเพิ่มข้อมูลมี 4 ขั้นตอน ดังนี้

    1. Select : Tag/TagRelation ที่ต้องการเพิ่มข้อมูล

    iCube Server : Select Tag/TagRelation
    1. Click : คลิกปุ่มเพิ่ม Value (+ Value)

    iCube Server : Add value

    การเพิ่มข้อมูลมี 2 แบบ ได้แก่

    2.1 Add Value เเบบ Single : กรอกข้อมูลเเละเลือกช่วงเวลาที่ต้องการให้ข้อมูลเเสดง

    รายละเอียดของ Quality และ Status

    Quality

    • Good : ข้อมูลมีคุณภาพปกติและพร้อมสำหรับการใช้งาน

    • Bad : ข้อมูลที่พบปัญหาระหว่างกระบวนการ

    2.2 Add Value เเบบ Multiple : การเพิ่มข้อมูลผ่านไฟล์ .CSV สามารถใช้งานได้เฉพาะกับ TagRelation เท่านั้น

    2.2.1 จัดเตรียมไฟล์ .CSV ที่มีหัวคอลัมน์เป็นแบบเดียวกับแท็ก/แท็กรีเรชัน หรือดาวน์โหลด Template เพื่อเติมข้อมูล

    2.2.2 หลังจากแนบไฟล์ข้อมูลจะแสดงตัวอย่างข้อมูลก่อนอัพโหลด

    2.3 Add Value เเบบ Mapping : การเพิ่มข้อมูลผ่านไฟล์ .CSV ซึ่งมีการเชื่อมต่อกับคอลัมน์ในตารางที่ทำการเพิ่มข้อมูลได้ทันที และสามารถกำหนดค่า timestamp จากคอลัมน์ของข้อมูล

    1. Save / Upload : กดปุ่ม Save หรือ Upload เมื่อจัดเตรียมข้อมูลเรียบร้อย

    Query Data

    การเรียกใช้ข้อมูล

    การเรียกใช้ข้อมูล คือ การดึงข้อมูลมาแสดงผลเพื่อให้ทราบถึงรายละเอียดของข้อมูลที่มีอยู่ โดยก่อนการดึงข้อมูล จำเป็นต้องเข้าใจหลักการและวิธีการดึงข้อมูลเสียก่อน ซึ่งหลักการนี้จะใช้ไวยากรณ์ของเวลาในการดึงข้อมูล โดยกำหนดตามตัวแปรดังต่อไปนี้

    1. Start Time (เวลาเริ่มต้น)

    2. End Time (เวลาสิ้นสุด)

    โดยสามารถดูไวยกรณ์การกำหนดเวลาได้ดังนี้

    การใช้เครื่องหมาย

    • วันเวลาปัจจุบัน ใช้เครื่องหมายดอกจัน (*)

    • เวลาก่อนหน้า ใช้เครื่องหมายลบ (-)

    • เวลาหลังจาก ใช้เครื่องหมายบวก (+)

    การใช้คำย่อ

    • หน่วย วินาที (sec)

    • หน่วย นาที (m)

    • หน่วย ชั่วโมง (h)

    • หน่วย วัน (d)

    การเรียกใช้ข้อมูลมี 3 ขั้นตอน ได้แก่

    1. Select : เลือก Tag/Tag Relation ที่ต้องการเรียกดูข้อมูล

    1. Time Range : กำหนดค่าเวลาเริ่มต้นและเวลาสิ้นสุด การใช้งานมี 2 รูปแบบ โดยการปิด/เปิด Toggle ได้แก่

      2.1 Time Expression : ค่าเริ่มต้นของเวลาเริ่มต้นคือ *-10m หรือ เวลาย้อนหลังไป 10 นาที จากเวลาปัจจุบัน และเวลาสิ้นสุด คือ * หรือ เวลา ณ ปัจจุบัน

    2.2 Date time : การใช้งานพิมพ์ช่วงเวลาหรือกดที่ไอคอนปฏิทินเพื่อเลือกช่วงเวลาในการเรียกดูข้อมูล

    1. Historical Value : การกำหนดจำนวนเเถวของข้อมูลที่ต้องการเเสดง

    Delete Interface

    การลบ Interface

    การลบ Interface มี 3 ขั้นตอน ดังนี้

    1. Select : เลือก Interface ที่ต้องการลบ

    iCube Server : Interface list
    1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Interface และสามารถกดปุ่ม Delete

    iCube Server : Interface information
    1. Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Interface ที่เลือก

    Tag configuration

    การจัดการและตั้งค่าแท็ก

    iCube Sever : Tag value list

    Tag Configuration : การกำหนดคุณสมบัติและจัดการแท็กที่ใช้ในการระบุและจัดประเภทข้อมูล หรือวัตถุต่าง ๆ ภายในระบบเพื่อให้สามารถค้นหาและจัดการได้ง่ายขึ้น

    Function

    Fuction
    Description

    iCube Server

    คู่มือการใช้งาน iCube Server

    iCube Server : Overview

    iCube Server : แพลตฟอร์มที่ใช้สำหรับจัดการข้อมูล ผู้ใช้งาน และการบริการ (Service) ต่าง ๆ ของระบบ iCube Platform โดยมีการเชื่อมต่อและประสานการทำงานระหว่างฟีเจอร์ต่าง ๆ ภายในแพลตฟอร์มเพื่อให้ผู้ใช้งานสามารถบริหารจัดการข้อมูลและทรัพยากรได้อย่างมีประสิทธิภาพ

    What to read next

    Function
    Description

    Update TagRelation

    การแก้ไขข้อมูลใน TagRelation

    การแก้ไข TagRelation มี 3 ขั้นตอน ได้แก่

    1. Select : เลือกข้อมูล TagRelation ที่ต้องการแก้ไข

    iCube Server : TagRelation list
    1. Information : แก้ไขรายละเอียดของ TagRelation

    iCube Server : TagRelation information
    1. Save : คลิกปุ่ม Save เพื่อบันทึกการแก้ไข

    TagRelation configuration

    การจัดการและตั้งค่า TagRelation

    iCube Server : TagRelation list

    TagRelation Configuration : การกำหนดคุณสมบัติและจัดการแท็กที่ใช้ในการระบุและจัดประเภทข้อมูลหรือวัตถุต่าง ๆ ภายในระบบที่สามารถจัดเก็บข้อมูลได้มากกว่า 1 รายการ

    Function

    Function
    Description

    Create TagRelation

    การสร้าง TagRelation

    การสร้างสร้าง TagRelation มี 3 ขั้นตอน ดังนี้

    1. Click : คลิกปุ่มเพิ่ม TagRelation (+ TagRelation) เพื่อเปิดเมนูสำหรับสร้างแท็กรีเลชั่นใหม่

    1. Information : กรอกรายละเอียดของ TagRelation ให้ครบถ้วน

    ข้อกำหนดเเละรายละเอียด

    Create Interface

    การสร้าง Interface

    การสร้าง Interface มี 3 ขั้นตอน ดังนี้

    1. Click : กดปุ่มเพิ่ม Interface ( + Interface )

    1. Interface name : กรอกชื่อ Interface name

    Get Tag Relation all

    Fetches a list of tag relations, including details about each relation and its properties.

    Example URL

    Last Update: 7 NOV 2024

    Retrieve Tag Relations

    Method: GET

    URL: {{base_url}}/tagrelation

    Get connection

    Checks the connection status to confirm the API is accessible and operational.

    Last Update: 7 NOV 2024

    Example URL

    Connect

    Method: GET

    Update Publisher

    การแก้ไข Publisher

    การแก้ไข Publisher มี 4 ขั้นตอน ดังนี้

    1. Select : เลือก Publisher ที่ต้องการแก้ไข

    1. Information : ทำการแก้ไข Publisher

    Create Interface
    Update Interface
    Delete Interface
    Create Mapping
    Update Mapping
    Delete Mapping
    หน่วย เดือน (mo)
  • หน่วย ปี (y)

  • iCube Server : Select Tag/Tag Relation
    iCube Server : Cron Expression
    iCube Server : Time Expression
    iCube Server : Select historical value
    Provider
    Publisher
    iCube Server : TagRelation editor
    iCube Server : Save success
    iCube Server : Mapping information
    iCube Server : Create success

    Substituted : ข้อมูลที่ถูกแก้ไขแล้วและพร้อมสำหรับการใช้งาน

  • Test : ข้อมูลที่อยู่ในช่วงการทดสอบ

  • Status

    • Normal : ข้อมูลที่ถูกนำเข้าโดยไม่กำหนดสถานะพิเศษ

    • Review : ข้อมูลที่ถูกระบุให้ตรวจสอบก่อนการใช้งาน

    • Approved : ข้อมูลที่ผ่านการรีวิวและพร้อมสำหรับการใช้งาน

    iCube Server : TagRelation add single value
    iCube Server : TagRelation add multiple value
    iCube Server : Pop-up add multiple value
    iCube Form : Pop-up preview
    iCube Server : TagRelation add mapping
    iCube Server : Confirm
    iCube Server : Delete success

    กระบวนการสร้างแท็กให้กับข้อมูล เพื่อให้สามารถระบุและจัดประเภทของข้อมูล

    กระบวนการปรับปรุง เปลี่ยนแปลงที่ถูกกำหนดไว้กับข้อมูล เพื่อให้ตรงกับความต้องการหรือสถานการณ์ที่เปลี่ยนแปลงไป

    กระบวนการนำแท็กที่เคยถูกกำหนดไว้สำหรับข้อมูลออกจากระบบ

    Create Tag
    Update Tag
    Delete Tag

    หน้าหลักสำหรับการมอนิเตอร์สถานะการทำงานของ Service ต่าง ๆ

    หน้าต่างสำหรับใช้แสดงข้อมูลที่ถูกจัดเก็บใน Tag และ TagRelation

    หน้าต่างสำหรับจัดการ Tag และ TagRelation

    หน้าต่างสำหรับจัดการส่วนเชื่อมต่อที่ใช้ในการสื่อสารและทำงานกับระบบหรือโปรแกรม

    หน้าต่างสำหรับจัดการการใช้งานข้อมูลใน Tag และ TagRelation ผ่าน RESTful API

    หน้าต่างสำหรับจัดการกำหนดระยะการทำงาน (Schedule)

    หน้าต่างสำหรับจัดการและควบคุมสิทธิ์การเข้าถึง Service ต่าง ๆ

    Overview
    Data
    Tag
    Interface
    Integration
    Trigger
    Security
    iCube Server : TagRelation update

    กระบวนการสร้าง TagRelation เพื่อข้อมูลให้สามารถจัดเก็บชุดข้อมูล

    กระบวนการปรับปรุง เปลี่ยนแปลงที่ถูกกำหนดไว้กับข้อมูล เพื่อให้ตรงกับความต้องการหรือสถานการณ์ที่เปลี่ยนแปลงไป

    กระบวนการนำ TagRelation ที่เคยถูกกำหนดไว้สำหรับข้อมูลออกจากระบบ

    Create TagRelation
    Update TagRelation
    Delete TagRelation
    URL: {{base_url}}/connect

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    result

    bool

    Connection status

    https://{api_base_url}/integration/webapi/connect
    {
        "result": bool
    }
    
  • Relation name : ชื่อ TagRelation ต้องมีตัวอักษรเกินกว่า 3 ตัว แต่ไม่เกิน 50 ตัว ไม่สามารถเว้นว่างได้และไม่สามารถใช้ชื่อซ้ำได้

  • Description : ไม่บังคับว่าต้องกำหนดหรือถ้ากำหนดต้องมีตัวอักษรไม่เกิน 100 ตัว

  • Table type :

    • Table : การสร้าง TagRelation ให้จัดเก็บข้อมูลในรูปแบบตารางมีการกำหนดคอลัมน์ เพื่อเก็บข้อมูลในรูปแบบต่าง ๆ

    • View : การเขียน Query เพื่อจัดการข้อมูลจากรูปแบบ Table ให้พร้อมก่อนนำไปใช้งาน โดยใช้ภาษา PostgreSQL

  • Data type : รูปการการจัดเก็บข้อมูลของ TagRelation

    • Non-time series : การจัดเก็บข้อมูลที่ไม่ได้ถูกจัดเก็บหรือวิเคราะห์ตามลำดับของเวลา ไม่จำเป็นต้องอ้างอิงหรือผูกกับช่วงเวลาในการบันทึกข้อมูล ทำให้ไม่ต้องคำนึงถึงลำดับเวลาของเหตุการณ์หรือค่าต่าง ๆ

    • Time series : การจัดเก็บข้อมูลที่เกิดขึ้นตามช่วงเวลาที่กำหนด โดยมีลักษณะเป็นข้อมูลที่ถูกบันทึกหรือวัดผลซ้ำ ๆ ในช่วงเวลาที่แตกต่างกัน ซึ่งข้อมูลเหล่านี้จะถูกจัดเรียงตามลำดับเวลาอย่างต่อเนื่อง

  • Field TagRelation

    • Name : ชื่อของคอลัมน์ที่ใช้สำหรับจัดเก็บข้อมูล

    • Data Type : ตัวกำหนดประเภทของข้อมูลที่จัดเก็บภายในคอลัมน์

    • Not NULL : กำหนดให้คอลัมน์ต้องมีข้อมูล ไม่สามารถปล่อยให้ว่างได้

    • Identity : กำหนดให้คอลัมน์สามารถระบุเป็นคีย์หลัก (Primary Key) สำหรับ TagRelation

    iCube Server : TagRelation information

    Data type

    ประเภทของข้อมูลในการเก็บของ TagRelation ประกอบด้วยกัน 4 ประเภท

    Integer (เลขจำนวนเต็ม) : ประเภทข้อมูลที่เป็นเลขจำนวนเต็ม

    Big Integer (เลขจำนวนเต็ม) : ประเภทข้อมูลที่เป็นเลขจำนวนเต็ม

    Double (เลขทศนิยม) : ประเภทข้อมูลที่เป็นเลขทศนิยม

    String (ตัวอักษร) : ประเภทข้อมูลที่เป็นตัวอักษร

    Boolean (ค่าตรรกะ) : ประเภทข้อมูลที่เป็นค่าตรรกะ ได้แก่ True หรือ False

    1. Save : คลิกปุ่ม Save เพื่อสร้าง TagRelation

    iCube Server : Create success
    iCube Server : Button add TagRelation
    iCube Server : TagRelation Information

    Select : เลือก Interface type มี 5 รูปเเบบ

    System

    iCube : การเชื่อมต่อกับ iCube Server ภายใน Domain เดียวกัน ซึ่งเหมาะสำหรับการโอนย้ายหรือแลกเปลี่ยนข้อมูลระหว่างเซิร์ฟเวอร์

    Machine

    ModbusTCP : โปรโตคอลการสื่อสารที่ใช้ในระบบเครือข่าย TCP/IP สำหรับการส่งข้อมูลระหว่างอุปกรณ์ในระบบอัตโนมัติ

    OPCUA : โปรโตคอลการสื่อสารแบบเปิดที่ใช้สำหรับการแลกเปลี่ยนข้อมูลระหว่างอุปกรณ์และระบบในอุตสาหกรรมต่าง ๆ

    MQTT : โปรโตคอลการสื่อสารที่ออกแบบมาเพื่อการส่งข้อความที่มีขนาดเล็กและมีประสิทธิภาพ เหมาะสำหรับการเชื่อมต่ออุปกรณ์ในระบบ IoT (Internet of Things)

    Database

    Microsoft SQL Server : ระบบจัดการฐานข้อมูลเชิงสัมพันธ์ (RDBMS) ที่พัฒนาโดย Microsoft ซึ่งออกแบบมาเพื่อการจัดเก็บและจัดการข้อมูลอย่างมีประสิทธิภาพ

    Oracle : ระบบจัดการฐานข้อมูลเชิงสัมพันธ์ (RDBMS) ที่พัฒนาโดยบริษัท Oracle Corporation ซึ่งมีฟีเจอร์ที่ช่วยในการจัดการข้อมูลขนาดใหญ่และซับซ้อนได้อย่างมีประสิทธิภาพ

    PostgreSQL : ระบบจัดการฐานข้อมูลเชิงสัมพันธ์ (RDBMS) แบบโอเพนซอร์สที่มีความสามารถสูง ซึ่งถูกพัฒนาเพื่อรองรับมาตรฐาน SQL และมีฟีเจอร์การจัดการข้อมูลที่หลากหลาย มีความสามารถในการจัดการข้อมูลที่ซับซ้อนได้อย่างมีประสิทธิภาพ

    File

    SharePoint : แพลตฟอร์มการจัดการเนื้อหาและการทำงานร่วมกัน ที่ใช้สำหรับการจัดเก็บและแชร์ข้อมูลภายในองค์กร ช่วยให้การทำงานร่วมกันเป็นไปอย่างมีประสิทธิภาพ

    File System : ระบบที่ใช้ในการจัดเก็บและจัดการไฟล์ในอุปกรณ์เก็บข้อมูล รวมถึงการใช้ Share Folder ในเครือข่ายเดียวกัน เพื่อให้สามารถเข้าถึงและจัดการไฟล์ได้อย่างสะดวกและรวดเร็ว

    API

    REST API : กระบวนการที่ใช้ในการสื่อสารระหว่างแอปพลิเคชันหรือระบบโดยใช้ REST API ซึ่งเป็นโปรโตคอลการสื่อสารที่พัฒนาขึ้นเพื่อให้การแลกเปลี่ยนข้อมูลเป็นไปอย่างมีประสิทธิภาพ

    1. Information : กรอกข้อมูลการเชื่อมต่อและทดสอบการเชื่อมต่อ โดยกดปุ่ม Check Status

    iCube Server : Interface information
    1. Save : กด Save เพื่อบันทึกการเชื่อมต่อ

    iCube Server : Add interface
    iCube Server : Interface information

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    result

    array

    List of tag relation objects.

    tagRelationName

    string

    Name of the tag relation.

    server

    string

    Server name associated with the tag relation.

    description

    string

    Description of the tag relation.

    Validate Execution : กดปุ่ม Validate Execution เพื่อตรวจสอบการเชื่อมต่อ

  • Save : กดปุ่ม Save เพื่อบันทึกการแก้ไข

  • iCube Server : Update success
    iCube Server : Publisher list
    iCube Server : Publisher information

    iCube Server

    https://cloud.icube.co.th

    iCube Form

    https://form-v2.icube.co.th

    Website

    ติดตามการอัพเดตเนื้อหาใหม่ๆ ได้ทาง

    https://www.icube.co.th/

    Facebook

    ติดตามข่าวสารของชาว iCube ได้ที่ URL นี้

    https://www.facebook.com/iCubeInt/

    Cover
    Cover
    Cover
    Cover

    Get single Tag Relation value

    Fetches the values of a specific tag relation identified by its name, along with optional filters for time range and conditions.

    Example URL

    Last Update: 5 NOV 2024

    Retrieve Tag Relation Value with Conditions

    Method: GET

    URL: {{base_url}}/tagrelation/{tagrelationname}/value?starttime={starttime}&endtime={endtime}&query={query}


    Query Parameters:

    Parameter
    Required
    Description

    Time Expression:

    Expression
    Description

    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description

    Get Tag all

    Fetches a list of tags, including their details and a link to access the latest tag values.

    Example URL

    https://api.icube.co.th/integration/webapi/tag

    Last Update: 1 NOV 2024

    Retrieve Tag List

    Method: GET

    URL: {{base_url}}/tag

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Get Tag by name

    Fetches detailed information about a specific tag identified by its name.

    Example URL

    https://api.icube.co.th/integration/webapi/tag/B15-Status

    Last Update: 1 NOV 2024

    Retrieve Tag Information

    Method: GET

    URL: {{base_url}}/tag/{tagname}

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Insert multiple Tag values

    Add the specified tag values with their timestamps.

    Example URL

    Last Update: 1 NOV 2024

    Add Tag Values

    Method: POST

    URL: {{base_url}}/tag/value?mode=write


    Query Parameters:

    Parameter
    Data Type
    Description

    Request Body:

    The request body must be an array of tag value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    Value Data Types:

    Data Type
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Get Tag Relation by name

    Fetches detailed information about a specific tag relation identified by its name.

    Example URL

    https://api.icube.co.th/integration/webapi/tagrelation/bronze_relation_raw

    Last Update: 1 NOV 2024

    Retrieve Tag Relation Information

    Method: GET

    URL: {{base_url}}/tagrelation/{tagrelationname}

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Update multiple Tag value

    Updates the specified values for the tag with GUID

    Example URL

    Last Update: 1 NOV 2024

    Update Tag Value

    Method: PUT

    URL: {{base_url}}/tag/{tagname}/value


    Request Body:

    The request body must be an array of tag value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    Value Data Types:

    Data Type
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Delete multiple Tag Relation values

    Delete the specified tag relation values for tag relation based on their timestamps.

    Example URL

    https://api.icube.co.th/integration/webapi/tagrelation/TagRelationData3/value

    Last Update: 1 NOV 2024

    Delete Tag Relation Values

    Method: DELETE

    URL: {{base_url}}/tagrelation/{tagrelationname}/value


    Request Body:

    The request body must be an array of objects, each containing the following parameter:

    Parameter
    Data Type
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Get service lists

    Retrieves the base URL information and provides links to additional resources or endpoint categories.

    Last Update: 7 NOV 2024

    Example URL

    https://{api_base_url}/integration/webapi

    Get Base URL Information

    Method: GET

    URL: {{base_url}}

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Publisher

    การกำหนด Publisher

    iCube Server : iCube Publish

    Publisher : ฟังก์ชันที่ใช้ในการส่งข้อมูลไปยังแหล่งข้อมูลภายนอก ช่วยให้สามารถเผยแพร่หรือส่งต่อข้อมูลไปยังระบบหรือแพลตฟอร์มอื่น ๆ

    Function

    Function
    Description

    Delete User

    การลบผู้ใช้งาน

    1. Select : คลิกเลือกผู้ใช้งานที่ต้องการลบ

    iCube Server : User list
    1. Click : เมื่อกดเลือก จะมีการแสดงรายละเอียดของผู้ใช้และกดปุ่ม Delete

    iCube Server : User information
    1. Confirm : กดปุ่ม Delete เพื่อยืนยันการลบ

    Create Tag

    การสร้างแท็ก

    การสร้างแท็กมี 3 ขั้นตอน ดังนี้

    1. Click : คลิกปุ่มเพิ่ม Tag (+ Tag) เพื่อเปิดเมนูสำหรับสร้างแท็กใหม่

    1. Information : กรอกรายละเอียดของแท็ก

    ข้อกำหนดเเละรายละเอียด

    Get multiple Tag Relation values

    Fetches the values of specified tag relations identified by their names, with optional filters for time range and status.

    Example URL

    Last Update: 7 NOV 2024

    Retrieve Tag Relation Values with Filters

    Method: GET

    URL: {{base_url}}/tagrelation/value?name={tagrelationname}&starttime={starttime}&endtime={endtime}&statusData={statusData}

    Insert multiple Tag Relation values

    Add the specified tag relation values with their field mappings and timestamps.

    Example URL

    Last Update: 1 NOV 2024

    Add Tag Relation Values

    Method: POST

    URL: {{base_url}}/tagrelation/value?mode=write

    Get single Tag value

    Fetches the value of a specific tag identified by its name, along with optional filters for time range and conditions.

    Example URL

    Last Update: 1 NOV 2024

    Retrieve Tag Value with Conditions

    Method: GET

    URL: {{base_url}}/tag/{tagname}/value?starttime={starttime}&endtime={endtime}&query={query}

    Delete multiple Tag values

    Deletes the specified tag values for tag based on their timestamps.

    Example URL

    Last Update: 1 NOV 2024

    Delete Tag Values

    Method: DELETE

    URL: {{base_url}}/tag/{tagname}/value

    Get tagrelations

    Fetches a list of tagrelations, including details about each relation and its properties.

    Last Update: 11 NOV 2024

    Example URL

    Retrieve Tagrelations

    Method: GET

    Create Group

    การสร้างกลุ่มของผู้ใช้งาน

    ใส่รูป

    1. Click : กดสร้างผู้ใช้ ที่ปุ่ม ( + Group )

    ใส่รูปปุ่ม

    1. Information : กรอกข้อมูลของกลุ่มของผู้ใช้ที่ต้องการให้สิทธิ์การเข้าถึง Service ต่าง ๆ ใน iCube Platform

    Update Group

    การแก้ไขกลุ่มของผู้ใช้

    1. Click : คลิกเลือกที่กลุ่มของผู้ใช้ที่ต้องการแก้ไข

    ใส่รูป

    Create Request

    การสร้าง Request กรอกแบบฟอร์ม

    1. Select : เลือกเมนู Request

    1. Click : คลิกที่ปุ่ม Create Form (+ Request)

    Update User

    การแก้ไขผู้ใช้

    1. Click : คลิกเลือกที่ผู้ใช้ที่ต้องการแก้ไข

    1. Information : แก้ไขข้อมูล

    User configuration

    การจัดการผู้ใช้งานบน iCube Platform

    Users configuration : หน้าจัดการและตั้งค่าผู้ใช้ภายในระบบ โดยมีฟังก์ชันต่าง ๆ ที่ช่วยให้ผู้ดูแลระบบสามารถจัดการสิทธิ์และการเข้าถึงของผู้ใช้ได้อย่างมีประสิทธิภาพ รวมถึงการสร้างผู้ใช้ใหม่, การแก้ไขข้อมูลผู้ใช้, การกำหนดบทบาท (Role), การลบผู้ใช้, และการกำหนดสิทธิ์ในการเข้าถึงข้อมูลหรือฟังก์ชันต่าง ๆ ภายในระบบ

    Function
    Description

    Create User

    การสร้างผู้ใช้

    1. Click : กดสร้างผู้ใช้ ที่ปุ่ม ( + User )

    1. Information : กรอกข้อมูลของผู้ใช้ที่ต้องการให้สิทธิ์การเข้าถึง Service ต่าง ๆ ใน iCube Platform

    Trigger

    การกำหนดเวลา

    Trigger : การสร้างและจัดการกำหนดระยะการทำงาน (Schedule) จากเมนู Scheduling config ที่ได้สร้างไว้ล่วงหน้า เพื่อกำหนดเวลาหรือการดำเนินงานของกระบวนการต่าง ๆ

    Function

    Function
    Description

    Delete Schedule

    การลบกำหนดเวลา

    การลบ Schedule มี 3 ขั้นตอน ดังนี้

    1. Select : เลือก Schedule ที่ต้องการลบ

    1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Schedule และกดปุ่ม Delete

    Update Schedule

    การแก้ไขกำหนดเวลา

    การแก้ไข Schedule มี 3 ขั้นตอน ดังนี้

    1. Select : เลือก Schedule ที่ต้องการแก้ไข

    1. Information : ทำการแก้ไข Schedule

    Action Request

    การกรอกแบบฟอร์มที่ถูก Request แล้ว

    1. Select : เลือกเมนู Request

    1. Click : คลิกที่ปุ่ม Action เพื่อกรอกฟอร์มที่ถูก Request

    Delete Token

    การลบโทเค็นที่สร้างไว้ ซึ่งจะทำให้โทเค็นนั้นหมดอายุการใช้งานทันที และผู้ใช้หรือระบบที่ใช้โทเค็นดังกล่าวจะไม่สามารถเข้าถึงบริการหรือทรัพยากรที่เกี่ยวข้องได้อีกต่อไป

    การลบ Token มี 3 ขั้นตอน

    1. Select : เลือก Token ที่ต้องการลบ

    1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Token และกดปุ่ม Delete

    Delete Role

    การลบ Role

    การลบ Role มี 3 ขั้นตอน

    1. Select : เลือก Role ที่ต้องการลบ

    1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Role และกดปุ่ม Delete

    Request

    รายละเอียดของ Request

    Request : การ Request Workflow จาก Flow Template เพื่อมอบให้ผู้ใช้งาน

    Function

    Function
    Description
    https://api.icube.co.th/integration/webapi/tagrelation
    {
        "result": [
            {
                "tagRelationName": "string",
                "server": "string",
                "description": "string",
                "createAt": "datetime",
                "updateAt": "datetime or null",
                "deleteAt": "datetime or null",
                "enableHyperTable": bool,
                "isView": bool
            }
        ]
    }
    
    https://api.icube.co.th/integration/webapi/tagrelation/bronze_relation_raw/value?starttime=*-10d&endtime=*&query=name like 'K%'
    https://api.icube.co.th/integration/webapi/tag/value?mode=write
    https://api.icube.co.th/integration/webapi/tag/B15-Status/value

    createAt

    datetime

    Timestamp of when the tag relation was created.

    updateAt

    datetime/null

    Timestamp of the last update, if applicable.

    deleteAt

    datetime/null

    Timestamp of when the tag relation was deleted, if applicable.

    enableHyperTable

    bool

    Indicates if the hyper table feature is enabled.

    isView

    bool

    Indicates if the tag relation is viewable.

    ข้อมูลที่สามารถเเก้ไขได้คือ

    • Description

    • Password

    • Role

    • Access

    1. Save : กด Save เพื่อบันทึกการแก้ไข

    iCube Server : User list
    iCube Server : User information

    การเพิ่มผู้ใช้ใหม่เข้าสู่ระบบ

    การอัพเดตผู้ใช้ในระบบ

    การลบผู้ใช้ในระบบ

    Create User
    Update User
    Delete TagRelation
    iCube Server : User list
    Action : กรอกข้อมูลภายในฟอร์ม
    iCube Form : Menu
    iCube Form : Action form

    การสร้าง Publisher เพื่อโอนย้านข้อมูล

    การอัพเดต Publisher ที่ได้สร้างขึ้น

    การลบ Publisher ที่ได้สร้างขึ้น

    Create Publisher
    Update Publisher
    Delete Publisher
    iCube Server : Confirm
    iCube Server : Delete success
    Action Request

    การกรอกแบบฟอร์มที่ถูก Request แล้ว

    Delete Request

    การลบ Request กรอกแบบฟอร์ม

    Create Request
    iCube Form : Request page

    การสร้าง Request กรอกแบบฟอร์ม

    การสร้างการกำหนดเวลาการทำงาน

    Update Schedule

    การอัพเดตการกำหนดเวลาการทำงาน

    Delete Schedule

    การลบการกำหนดเวลาการทำงาน

    iCube Server : Scheduling list
    Create Schedule

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    query

    No

    A condition to filter the results, acting like a WHERE clause in PostgreSQL.

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year

    data

    array

    Array of tag relation value objects returned from the API.

    Id

    string

    Unique identifier for the tag relation.

    name

    string

    Name associated with the tag relation.

    tel

    string

    Telephone number associated with the tag relation.

    subDescription

    string/null

    Additional description, if any.

    tagType

    string

    Data type of the tag (e.g., "Double").

    tagSource

    string

    Source type of the tag (e.g., "Normal tag").

    tagMode

    string

    Mode of the tag (e.g., "Default").

    unit

    string

    Unit of measurement (e.g., "L").

    timeStamp

    datetime

    Timestamp of the tag's last recorded value.

    value

    string

    URL link to access the latest value of the tag.

    data

    array

    List of tag objects.

    tagname

    string

    Name of the tag.

    server

    string

    Server name where the tag originates.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Sub-description of the tag, if available.

    tagType

    string

    Data type of the tag (e.g., Integer, Double).

    tagSource

    string

    Source of the tag data (e.g., Normal tag).

    tagMode

    string

    Mode of the tag (e.g., Default).

    unit

    string

    Unit of measurement for the tag, if applicable.

    timeStamp

    datetime

    Last updated timestamp for the tag.

    value

    string

    URL or current value of the tag.

    data

    array

    List of tag objects, containing details of the specified tag.

    tagname

    string

    Name of the tag.

    server

    string

    Server name associated with the tag.

    description

    string/null

    Description of the tag.

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • True: Use this when need to update the status of data

    • False: Use this when don't need to update the status of data

    (Default: updateStatus=False)

    clearAll

    bool

    Clear records of data

    • True: Use this when need to clear all records of data before insert the new one

    • False: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=False)

    TagName

    string

    Name of the tag to which the value belongs.

    timeStamp

    datetime

    Timestamp of the value being written.

    value

    variant

    Value associated with the tag. It can be one of the following data types:

    string

    Represents text data.

    int

    Represents integer data.

    double

    Represents floating-point data.

    bool

    Represents boolean values (true/false).

    message

    string

    Success message indicating the result of the write operation.

    enableHyperTable

    string

    Indicates if hyper table functionality is enabled.

    isView

    string

    Indicates if the tag relation is a view.

    sqlQueryScript

    string/null

    SQL script associated with the tag relation, if available.

    createAt

    datetime

    Creation timestamp for the tag relation.

    value

    string

    URL or current value of the tag relation.

    tagRelationFieldMappings

    array

    List of field mappings associated with the tag relation.

    fieldName

    string

    Name of the field in the mapping.

    description

    string/null

    Description of the field, if available.

    isIdentity

    bool

    Indicates if the field is an identity field.

    data

    array

    Contains details of the specified tag relation.

    tagRelationName

    string

    Name of the tag relation.

    server

    string

    Server name associated with the tag relation.

    description

    string

    Description of the tag relation.

    tagValueId

    GUID

    Unique identifier for the tag value.

    value

    variant

    The value associated with the tag. It can be one of the following data types:

    timeStamp

    datetime

    Timestamp of when the value is recorded.

    string

    Represents text data.

    int

    Represents integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.

    message

    string

    Success message indicating the result of the write operation.

    timeStamp

    datetime

    The timestamp of the tag relation value to be deleted.

    [
        {
            "timeStamp": "datetime"
        },
        {
            "timeStamp": "datetime"
        }
    ]
    

    message

    string

    Success message indicating the result of the delete operation.

    {
        "data": {
            "tag": "string"
        }
    }
    

    data

    object

    Contains endpoint links for additional resources.

    tag

    string

    URL link to the /tag endpoint or tag-related data.


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • True: Use this when need to update the status of data

    • False: Use this when don't need to update the status of data

    (Default: updateStatus=False)

    clearAll

    bool

    Clear records of data

    • True: Use this when need to clear all records of data before insert the new one

    • False: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=False)


    Request Body:

    The request body must be an array of tag relation value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    tagRelationName

    string

    Name of the tag relation to which the values belong.

    fieldMappings

    array

    An array of field mapping objects for the tag relation.

    timeStamp

    datetime

    Timestamp of the value being written.

    Field Mappings:

    Each object in the fieldMappings array must contain the following parameters:

    Parameter
    Data Type
    Description

    field_Name

    string

    Name of the field being mapped.

    value

    variant

    Value associated with the field. It can be one of the following data types:

    Value Data Types:

    Data Type
    Description

    string

    Represents text data.

    int

    Represents integer data.

    big int

    Represents large integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    message

    string

    Success message indicating the result of the write operation.


    Request Body:

    The request body must be an array of objects, each containing the following parameter:

    Parameter
    Data Type
    Description

    timeStamp

    datetime

    The timestamp of the tag value to be deleted.


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    message

    string

    Success message indicating the result of the delete operation.

    https://api.icube.co.th/integration/webapi/tag/B15-Status/value
    {
        "data": [
            {
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    {
        "data": [
            {
                "tagname": "string",
                "server": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "tagType": "string",
                "tagSource": "string",
                "tagMode": "string",
                "unit": "string",
                "timeStamp": "datetime",
                "value": "string"
            }
        ]
    }
    
    {
        "data": [
            {
                "tagname": "string",
                "server": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "tagType": "string",
                "tagSource": "string",
                "tagMode": "string",
                "unit": "string",
                "timeStamp": "datetime",
                "value": "string"
            }
        ]
    }
    
    [
        {
            "TagName": "string",
            "timeStamp": "datetime",
            "value": "variant"
        },
        {
            "TagName": "string",
            "timeStamp": "datetime",
            "value": "variant"
        }
    ]
    
    {
        "message": "string"
    }
    
    {
        "data": {
            "tagRelationName": "string",
            "server": "string",
            "description": "string",
            "enableHyperTable": "string",
            "isView": "string",
            "sqlQueryScript": "string or null",
            "createAt": "datetime",
            "value": "string",
            "tagRelationFieldMappings": [
                {
                    "fieldName": "string",
                    "description": "string or null",
                    "isIdentity": bool
                }
            ]
        }
    }
    
    [
        {
            "tagValueId": "GUID",
            "value": "variant",
            "timeStamp": "datetime"
        },
        {
            "tagValueId": "GUID",
            "value": "variant",
            "timeStamp": "datetime"
        }
    ]
    
    {
        "message": "string"
    }
    
    {
        "message": "string"
    }
    
    https://api.icube.co.th/integration/webapi/tagrelation/value?mode=write
    [
        {
            "tagRelationName": "string",
            "fieldMappings": [
                {
                    "field_Name": "string",
                    "value": "variant"
                },
                {
                    "field_Name": "string",
                    "value": "variant"
                },
                {
                    "field_Name": "string",
                    "value": "variant"
                }
            ],
            "timeStamp": "datetime"
        }
    ]
    
    {
        "message": "string"
    }
    
    [
        {
            "timeStamp": "datetime"
        },
        {
            "timeStamp": "datetime"
        }
    ]
    
    {
        "message": "string"
    }
    

    Tagname : ชื่อแท็กต้องมีตัวอักษรเกินกว่า 3 ตัว แต่ไม่เกิน 50 ตัวและไม่สามารถใช้ชื่อซ้ำได้

  • Description : ไม่บังคับว่าต้องกำหนดหรือถ้ากำหนดต้องมีตัวอักษรไม่เกิน 100 ตัว

  • Sub-Description : ไม่บังคับว่าต้องกำหนด ใช้สำหรับนำไปใช้ระบุประเภทหรือคุณลักษณะของข้อมูลสำหรับการใช้งาน

  • Tag source : ตัวกำหนดลักษณะการเก็บข้อมูลของแท็ก

    • Normal Tag (แท็กปกติ) : แท็กที่ใช้สำหรับเก็บข้อมูล ไม่ว่าจะเป็นข้อมูลที่รับมาจากแพลตฟอร์มภายนอก หรือข้อมูลจากเซอร์วิสอื่นๆ ของแพลตฟอร์ม iCube ที่นำมาเก็บไว้ในแท็ก

  • Tag type : ตัวกำหนดประเภทข้อมูลที่จัดเก็บภายในแท็ก

  • iCube Server : Tag information

    Tag type

    ประเภทของข้อมูลในการเก็บของแท็กประกอบด้วยกัน 4 ประเภท

    Integer (เลขจำนวนเต็ม): ประเภทข้อมูลที่เป็นเลขจำนวนเต็ม

    Double (เลขทศนิยม): ประเภทข้อมูลที่เป็นเลขทศนิยม

    String (ตัวอักษร): ประเภทข้อมูลที่เป็นตัวอักษร

    Boolean (ค่าตรรกะ): ประเภทข้อมูลที่เป็นค่าตรรกะ ได้แก่ True หรือ False

    • Eng. unit : กำหนดหน่วยทางวิศวกรรม

    • Tag Mode : โหมดในการเก็บข้อมูลของแท็ก ประกอบด้วยกัน 2 ประเภท ได้แก่

    Default mode (เริ่มต้น) : โหมดเริ่มต้นเป็นโหมดการเก็บข้อมูลที่รอรับข้อมูลอย่างเดียว

    iCube Server : Tag mode default

    Condition mode (เงื่อนไข) : โหมดเงื่อนไขเป็นโหมดการเก็บข้อมูลที่ทำการเช็คเงื่อนไขข้อมูลก่อนจะทำการเก็บข้อมูล

    iCube Server : Tag mode condition

    ข้อกำหนดเเละการตั้งเงื่อนไขตาม Tag type

    Integer & Double

    Tag name ตามด้วยเงื่อนไข ตามด้วยค่าที่เป็น integer หรือ double โดยมีเงื่อนไขดังนี้

    • >

    • <

    • >=

    • <=

    • ==

    • !=

    String

    Tag name ตามด้วยเงื่อนไข ตามด้วยค่าที่เป็น String โดยมีเงื่อนไขดังนี้

    • ==

    • !=

    Boolean ไม่มี Condition mode

    1. Save : คลิกปุ่ม Save เพื่อสร้างแท็ก

    iCube Server : Save
    iCube Server : Add tag value
    iCube Server : Tag information

    Query Parameters:

    Parameter
    Required
    Description

    name

    Yes

    Comma-separated list of tag relation names to retrieve values for (e.g., bronze_relation_raw,Testmultiple).

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    No

    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag relation value objects returned from the API.

    tagRelationName

    string

    Name of the tag relation.

    Id

    string

    Unique identifier for the tag relation entry.

    name

    string

    Name associated with the tag relation.


    Query Parameters:

    Parameter
    Required
    Description

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    query

    No

    A condition to filter the results, acting like a WHERE clause in PostgreSQL.

    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag, if available.

    subDescription

    string/null

    Sub-description of the tag, if available.

    URL: {{base_url}}/tagrelation

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    result

    array

    List of tag relation objects.

    tagRelationName

    string

    Name of the tag relation.

    description

    string

    Description of the tag relation.

    enableHyperTable

    bool

    Indicates if the hyper table feature is enabled.

    Role : การกำหนดสิทธิ์และหน้าที่ของผู้ใช้ในระบบจากเมนู Role & Permission เพื่อจัดการ Service ต่าง ๆ ใน iCube Platform

    1. Save : กดปุ่ม Save เพื่อสร้างกลุ่มของผู้ใช้งาน

    iCube Server : Crate success
    Server : User information
    Information : แก้ไขข้อมูล
    iCube Server : User information

    ข้อมูลที่สามารถเเก้ไขได้คือ

    • Groupname

    • Description

    • Role

    • Users

    1. Save : กด Save เพื่อบันทึกการแก้ไข

    Select : เมื่อคลิกแล้วจะเห็นหน้าต่างสำหรับเลือก workflow ของฟอร์ม
    iCube Form : Pop-up create Request
    1. Request : กดปุ่ม Request เมื่อสร้างเสร็จจะเเสดงรายการที่สร้างลงในตาราง

    iCube Form : Pop-up create Form
    1. Request page : เมื่อสร้างแบบ Request สำเร็จ Request ที่สร้างจะปรากฎ

    iCube Form : Request page
    iCube Form : Menu
    iCube form : Button Create Request

    การตั้ง Password

    • ต้องมี 6 character

    • ต้องมีตัวอักษรพิมพ์ใหญ่อย่างน้อย 1 character

    • ต้องมีตัวอักษรพิเศษอย่างน้อย 1 character

    • ต้องมีตัวเลขอย่างน้อย 1 character

    1. Setting : หลังจากกรอกรายละเอียดต่าง ๆ จะเเสดงในส่วนของ Role และ Access

    iCube Server : Role & Access setting

    Role : การกำหนดสิทธิ์และหน้าที่ของผู้ใช้ในระบบจากเมนู Role & Permission เพื่อจัดการ Service ต่าง ๆ ใน iCube Platform

    1. Save : กดปุ่ม Save เพื่อสร้างผู้ใช้งาน

    iCube Server : Crate success
    iCube Server : User list
    iCube Server : Add user
    Server : User information

    Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Schedule ที่เลือก

    iCube Server : Confirm
    iCube Server : Delete success
    iCube Server : Schedule list
    iCube Server : Schedule information

    Save : กดปุ่ม Save เพื่อบันทึกการแก้ไข

    iCube Server : Update success
    iCube Server : Schedule list
    iCube Server : Schedule information

    Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Token ที่เลือก

    iCube Server : Confirm
    iCube Server : Delete success
    iCube Server : Token list
    iCube Server : Token information

    Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Role ที่เลือก

    iCube Server : Confirm
    iCube Server : Delete success
    iCube Server : Role list
    iCube Server : Role information

    [Integration Provider] API Document

    API Document สำหรับ Provider ใช้ในการดึงข้อมูลจาก iCube Platform

    Method
    API
    Description

    GET

    Retrieves the base URL information

    GET

    Checks the connection status

    GET

    Fetches a list of tag

    Get tags

    Fetches a list of tags, including their details and a link to access the latest tag values.

    Last Update: 11 NOV 2024

    Example URL

    https://{api_base_url}/integration/webapi/tag

    Retrieve Tag List

    Method: GET

    URL: {{base_url}}/tag

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Task

    Task คืออะไร

    Task : หน้าต่างสำหรับแสดงฟอร์มที่มีการ request ทั้งหมดและแสดงรายละเอียดของแต่ละฟอร์มรวมถึงขั้นตอนของฟอร์มนั้นหากมีการบันทึกฉบับร่างไว้ เพื่อช่วยในการจัดการและสามารถเขาถึงฟอร์มได้อย่างเป็นระเบียบและสะดวกมากขึ้น

    iCube Form : Form Group

    การเลือกดู Task ตามเงื่อนไข

    1. เลือกดู Task โดยการค้นหาชื่อฟอร์ม

    สามารถกำหนดรูปแบบในการแสดงผลลัพธ์ตามต้องการได้ ได้แก่

    • เรียงผลลัพธ์ตามตัวอักษรของชื่อฟอร์ม

    • จำกัดจำนวนผลลัพธ์ที่แสดง

    • จำกัดระยะเวลาของผลลัพธ์ที่แสดง

    1. เลือกดู Task ผ่าน Status ของฟอร์ม ได้แก่

    • Inputting

    • Review

    • Waiting for approval

    1. เลือกดู Task ผ่านการตัวเลือกจากชื่อฟอร์มที่มีการ Request

    Create Schedule

    การกำหนดเวลา

    การสร้าง Schedule มี 3 ขั้นตอน ดังนี้

    1. Click : กดปุ่มเพิ่ม Scheduling (+ Scheduling)

    iCube Server : Add Scheduling
    1. Information : กรอกข้อมูลรายละเอียดต่าง ๆ

    1. Select : กำหนดระยะเวลาที่ช่อง Cron Expression โดยการกำหนดช่วงเวลามี 2 รูปแบบ ได้แก่ 3.1 Cron Expression : การกำหนดเวลาการทำงานโดยใช้รูปแบบการเขียนโค้ด Cron

    3.2 Time Expression : กดไอคอน "นาฬิกา" เพื่อแสดงหน้าต่างตั้งค่าเวลา

    Minutes

    เลือกกำหนดช่วงเวลาทุกกี่นาที

    สามารถเลือกได้ตั้งเเต่ทุก 1 นาที จนถึง 59 นาที


    Hourly

    เลือกกำหนดช่วงเวลาทุกกี่ชั่วโมง

    สามารถเลือกได้ตั้งเเต่ทุก 1 ชั่วโมง ตามด้วย 59 นาที จนถึง ทุก 23 ชั่วโมง ตามด้วย 59 นาที


    Daily

    เลือกกำหนดช่วงเวลาทุกกี่วัน

    สามารถเลือกอันใดอันนึงจาก 2 ประภทนี้


    Weekly

    เลือกกำหนดวันที่ต้องการ เเละ ณ เวลาที่ต้องการ ซึ่งสามารถเลือกได้มากกว่า 1 วัน


    Monthly

    เลือกวันที่ ที่ต้องการ เเละ กำหนดว่าจะทำทุกๆกี่เดือน ตามด้วย เวลาที่ต้องการ


    Yearly

    เลือกวันที่ ที่ต้องการ เเละ กำหนดว่าจะทำทุกๆเดือนไหน ตามด้วย เวลาที่ต้องการ

    1. Save : กด "Save" เพื่อบันทึกการสร้าง Schedule

    Security

    การจัดการและควบคุบสิทธิ์การเข้าถึง Service ต่าง ๆ

    Security : หน้าจัดการและควบคุมสิทธิ์การเข้าถึง Service ต่าง ๆ ภายใน iCube Platform

    User configuration

    iCube Server : User configuration

    Group configuration

    รอใส่รูป

    Role & Permission configuration

    Token Provider configuration

    Function

    Function
    Description

    Role & Permission configuration

    รายละเอียด Role & Permission

    Role & Permission : การกำหนดบทบาทและสิทธิ์อย่างชัดเจนเพื่อควบคุมการเข้าถึงและการใช้งาน Service ต่าง ๆ การกำหนดบทบาทและสิทธิ์นี้ทำให้ผู้ใช้สามารถเข้าถึงบริการหรือทรัพยากรที่เกี่ยวข้องกับหน้าที่ของตนได้เท่านั้น

    Function

    Function
    Description

    Delete Request

    การลบ Request กรอกแบบฟอร์ม

    1. Select : เลือกเมนู Request

    iCube Form : Menu
    1. Click : คลิกที่ปุ่ม Delete เพื่อลบ Request

    iCube Form : Delete form
    1. Confirm : กด Delete เพื่อยืนยันการลบ Request

    1. Request page : เมื่อลบ Request แล้วจะไม่มีการแสดงผลอีก

    Update Role

    การแก้ไข Role

    การแก้ไข Role มี 3 ขั้นตอน ดังนี้

    1. Select : เลือก Role ที่ต้องการแก้ไข

    iCube Server : Role list
    1. Information : ทำการแก้ไข Role

    iCube Server : Role information
    1. Save : กดปุ่ม Save เพื่อบันทึกการแก้ไข

    Token provider configuration

    ข้อมูลสำหรับการยืนยันตัวตนและการเข้าถึงทรัพยากร

    Token provider : เป็นข้อมูลสำคัญในการยืนยันตัวตนและการเข้าถึงทรัพยากรหรือบริการต่าง ๆ จาก iCube Server ผ่านการเชื่อมต่อ API

    Function

    Function
    Description

    Get multiple Tag values

    Fetches the values of specified tags identified by their names, with optional filters for time range and status.

    Example URL

    Last Update: 5 NOV 2024

    Retrieve Tag Values with Filters

    Method: GET

    URL: {{base_url}}/tag/value?name={tagname}&starttime={starttime}&endtime={endtime}&statusData={statusData}

    Get multiple Tag Relation values (with Body)

    Fetches the values of specified tag relations based on the provided criteria.

    Example URL

    Last Update: 7 NOV 2024

    Retrieve Tag Relation Values

    Method: POST

    URL: {{base_url}}/tagrelation/value?mode=read

    Get tag by tagname

    Fetches detailed information about a specific tag identified by its name.

    Last Update: 11 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying data for a specific tag (B15-Status). In this example, B15-Status is the tag name being queried.

    Get tagrelation by tagrelation name

    Fetches detailed information about a specific tag relation identified by its name.

    Last Update: 11 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying data for a specific tag relation (bronze_relation_raw). In this example, bronze_relation_raw is the tag relation name being queried.

    iCube Form

    คู่มือการใช้งาน iCube Form

    What to read next

    Function
    Description
    Youtube : @icubeofficial
    https://api.icube.co.th/integration/webapi/tagrelation/value?name=bronze_relation_raw,Testmultiple&starttime=*-5mo&endtime=*&statusData=9
    {
        "data": [
            {
                "tagRelationName": "string",
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://api.icube.co.th/integration/webapi/tag/B15-Status/value?starttime=*-10d&endtime=*&query=value > 50
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://{api_base_url}/integration/webapi/tagrelation
    {
        "result": [
            {
                "tagRelationName": "string",
                "description": "string",
                "enableHyperTable": bool,
                "isView": bool
            }
        ]
    }
    

    A filter for the status of the tag relation values, acting like a WHERE clause in PostgreSQL (only integer).

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    tel

    string

    Telephone number associated with the tag relation.

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    *

    Present

    -

    Go back (e.g., *-10y means go back 10 years)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    Current value of the tag.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    isView

    bool

    Indicates if the tag relation is viewable.

    GET

    Get Tag Relation all

    Fetches a list of tag relation

    GET

    Get Tag by name

    Fetches detailed information about a specific tagidentified by its name.

    GET

    Get Tag Relation by name

    Fetches detailed information about a specific tag relationidentified by its name.

    GET

    Get single Tag value

    Fetches the value of a specifictag identified by its name

    GET

    Get single Tag Relation value

    Fetches the value of a specifictag relationidentified by its name

    GET

    Get multiple Tag values

    Fetches the values of specified tags identified by their names

    GET

    Get multiple Tag Relation values

    Fetches the values of specified tag relations identified by their names

    POST

    Get multiple Tag values (with Body)

    Fetches the values of specified tags based on the provided criteria

    POST

    Get multiple Tag Relation values (with Body)

    Fetches the values of specified tag relations based on the provided criteria

    POST

    Insert multiple Tag values

    Writes the specified tagvalues

    POST

    Insert multiple Tag Relation values

    Writes the specified tag relationvalues

    PUT

    Update multiple Tag value

    Updates the specified values for the tagwith GUID

    PUT

    Update multiple Tag Relation value

    Updates the specified values for the tag relation

    DELETE

    Delete multiple Tag values

    Deletes the specified tag values for tag based on their timestamps.

    DELETE

    Delete multiple Tag Relation values

    Deletes the specified tag relation values for tag relation based on their timestamps

    Get service list all
    Get connection
    Get Tag all
    iCube Form : Filter by condition
    iCube Form : Filter by status
    iCube Form : Filter by request
    กำหนดให้เป็น ทุก ๆ กี่วัน ตามด้วยเวลาที่เท่าไร (Hour : Minutes)
  • Week Day คือการเลือกให้ส่งเฉพาะ วันจันทร์ จนถึง วันศุกร์ ณ เวลาที่กำหนด (Hour : Minutes)

  • iCube Server : Cron Expression
    iCube Server : Time Expression
    iCube Server : Create success

    การจัดการผู้ใช้งานบน iCube Platform

    การจัดการกลุ่มของผู้ใช้งานบน iCube Platform

    การกำหนดบทบาทและสิทธิ์อย่างชัดเจนเพื่อควบคุมการเข้าถึงและการใช้งาน Service ต่าง ๆ

    ข้อมูลในการยืนยันตัวตนและการเข้าถึงทรัพยากรหรือบริการต่าง ๆ จาก iCube Server ผ่านการเชื่อมต่อ API

    User configuration
    Group configuration
    Role & Permission configuration
    Token provider configuration
    iCube Server : Role & Permission configuration
    iCube Server : Token Provider configuration

    การสร้างบทบาทและกำหนดสิทธิ์สำหรับการเข้าถึงและใช้งานบริการต่าง ๆ ภายใน iCube Server

    การอัพเดตบทบาทและกำหนดสิทธิ์สำหรับการเข้าถึงและใช้งานบริการต่าง ๆ ภายใน iCube Server

    การลบบทบาทที่สร้างไว้ ซึ่งจะทำให้สิทธิ์การเข้าถึงและการใช้งานบริการ ต่าง ๆ ของบทบาทนั้นถูกยกเลิก

    Create Role
    Update Role
    Delete Role
    iCube Form : Pop-up confirm delete
    iCube Server : Update success

    การสร้างโทเค็นเพื่อใช้ในการยืนยันตัวตนและกำหนดสิทธิ์การเข้าถึงบริการหรือทรัพยากรต่าง ๆ ผ่าน API

    การลบโทเค็นที่สร้างไว้ ซึ่งจะทำให้โทเค็นนั้นหมดอายุการใช้งานทันที และผู้ใช้หรือระบบที่ใช้โทเค็นดังกล่าวจะไม่สามารถเข้าถึงบริการหรือทรัพยากรที่เกี่ยวข้องได้อีกต่อไป

    Create Token
    Delete Token
    https://www.youtube.com/@icubeofficial/featured
    ICUBE COMPANY LIMITED

    หน้าต่างสำหรับสร้างและจัดการแบบฟอร์ม (Form)

    หน้าต่างสำหรับจัดการกระบวนการทำงานตามลำดับขั้นตอน

    หน้าต่างเเสดงประวัติการกรอกข้อมูลในแบบฟอร์ม (Form)

    หน้าต่างสำหรับการอัพโหลดรูปต่าง ๆ เพื่อใช้ในแบบฟอร์ม (Form)

    หน้าต่างสำหรับการกำหนดการเข้าถึงแบบฟอร์ม (Form) และเมนูต่าง ๆ ใน iCube Form

    หน้าต่างสำหรับจัดกลุ่มแบบฟอร์ม (Form) เพื่อช่วยในการจัดการและแบ่งกลุ่มการใช้งานแบบฟอร์ม

    iCube Form : From

    tagType

    string

    Data type of the tag (e.g., "Double").

    tagSource

    string

    Source type of the tag (e.g., "Normal tag").

    tagMode

    string

    Mode of the tag (e.g., "Default").

    unit

    string

    Unit of measurement (e.g., "L").

    value

    string

    URL link to access the latest value of the tag.

    data

    array

    List of tag objects.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Additional description, if any.

    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "tagType": "string",
                "tagSource": "string",
                "tagMode": "string",
                "unit": "string",
                "value": "string"
            }
        ]
    }
    

    Query Parameters:

    Parameter
    Required
    Description

    name

    Yes

    Comma-separated list of tag names to retrieve values for (e.g., B15-Status,VT-01).

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    No

    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Additional description of the tag (if available).


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • True: Use this when need to update the status of data

    • False: Use this when don't need to update the status of data

    (Default: updateStatus=False)

    clearAll

    bool

    Clear records of data

    • True: Use this when need to clear all records of data before insert the new one

    • False: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=False)


    Request Body:

    Parameter
    Data Type
    Description

    tagrelations

    string

    Comma-separated list of tag relation names to retrieve values for (e.g., bronze_relation_raw,TagRelationManagementSystem)

    starttime

    string

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    string

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    integer


    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Example Request Body:


    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag relation value objects returned from the API.

    tagRelationName

    string

    Name of the tag relation.

    Id

    string

    Unique identifier for the tag relation.

    name

    string

    Name associated with the tag relation.

    Retrieve Tag Information

    Method: GET

    URL: {{base_url}}/tag/{tagname}

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    List of tag objects, containing details of the specified tag.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Sub-description of the tag, if available.

    Retrieve Tagrelation Information

    Method: GET

    URL: {{base_url}}/tagrelation/{tagrelationname}

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Contains details of the specified tag relation.

    tagRelationName

    string

    Name of the tag relation.

    description

    string

    Description of the tag relation.

    enableHyperTable

    string

    Indicates if hyper table functionality is enabled.

    Get multiple Tag values (with Body)

    Fetches the values of specified tags based on the provided criteria.

    Example URL

    Last Update: 7 NOV 2024

    Retrieve Tag Values

    Method: POST

    URL: {{base_url}}/tag/value?mode=read


    Query Parameters:

    Parameter
    Data Type
    Description

    Request Body:

    Parameter
    Data Type
    Description

    Time Expression:

    Expression
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Update multiple Tag Relation value

    Updates the specified values for the tag relation

    Example URL

    Last Update: 1 NOV 2024

    Update Tag Relation Value

    Method: PUT

    URL: {{base_url}}/tagrelation/{tagrelationname}/value


    Request Body:

    The request body must be an array of tag relation value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    Field Value Object:

    Parameter
    Data Type
    Description

    Value Data Types:

    Data Type
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    APIs Document

    API Document สำหรับ Provider ใช้ในการดึงข้อมูลจาก iCube Platform

    Method
    API
    Description

    GET

    Retrieves the base URL information

    GET

    Checks the connection status

    GET

    Fetches a list of tag

    Get single tag value

    Fetches the value of a specific tag identified by its name, along with optional filters for time range and conditions.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value of a specific tag (B15-Status) with additional query parameters. In this example:

    • starttime=*-10d specifies the start time as 10 days ago.

    • endtime=* indicates no specific end time (or the most recent data).

    • query=value > 50 filters the results to include only those where the value is greater than 50.

    Retrieve Tag Value with Conditions

    Method: GET

    URL: {{base_url}}/tag/{tagname}/value?starttime={starttime}&endtime={endtime}&query={query}


    Query Parameters:

    Parameter
    Required
    Description

    Time Expression:

    Expression
    Description

    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Get multiple tagrelations values

    Fetches the values of specified tag relations identified by their names, with optional filters for time range and status.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value for specific tag relations (bronze_relation_raw, Testmultiple) with additional query parameters. In this example:

    • name=bronze_relation_raw,Testmultiple specifies the tag relations being queried.

    • starttime=*-5mo sets the start time as 5 months ago.

    • endtime=* indicates no specific end time (or the most recent data).

    • statusData=9 filters the results to include only those with a status data value of 9.

    Retrieve Tagrelation Values with Filters

    Method: GET

    URL: {{base_url}}/tagrelation/value?name={tagrelationname}&starttime={starttime}&endtime={endtime}&statusData={statusData}


    Query Parameters:

    Parameter
    Required
    Description

    Time Expression:

    Expression
    Description

    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description

    Update multiple tagrelation values

    Updates the specified values for the tag relation

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates updating the value for a specific tag relation (TagRelationData3) using the PUT method. In this example, the PUT request is used to modify the value of the tag relation.

    Update Tagrelation Value

    Method: PUT

    URL: {{base_url}}/tagrelation/{tagrelationname}/value


    Request Body:

    The request body must be an array of tag relation value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    Field Value Object:

    Parameter
    Data Type
    Description

    Value Data Types:

    Data Type
    Description

    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    Insert multiple tagrelation values

    Add the specified tag relation values with their field mappings and timestamps.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value for a specific tag relation with the mode=write query parameter. In this example, the query specifies that the data should be in write mode, indicating the insertion of new values.

    Insert multiple tag values

    Add the specified tag values with their timestamps.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value for a specific tag with the mode=write query parameter. In this example, the query specifies that the data should be in write mode, indicating the insertion of new values.

    Update multiple tag values

    Updates the specified values for the tag with GUID

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates updating the value for a specific tag (B15-Status) using the PUT method. In this example, the PUT request is used to modify the value of the tag.

    https://api.icube.co.th/integration/webapi/tag/value?name=B15-Status,VT-01&starttime=*-10y&endtime=*&statusData=18
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "unit": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://api.icube.co.th/integration/webapi/tagrelation/value?mode=read
    {
        "tagrelations": "tagrelationname,tagrelationname",
        "starttime": "*-10y",
        "endtime": "*",
        "statusData": 9
    }
    
    {
        "data": [
            {
                "tagRelationName": "string",
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://{api_base_url}/integration/webapi/tag/B15-Status
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "tagType": "string",
                "tagSource": "string",
                "tagMode": "string",
                "unit": "string",
                "value": "string"
            }
        ]
    }
    
    https://{api_base_url}/integration/webapi/tagrelation/bronze_relation_raw
    {
        "data": {
            "tagRelationName": "string",
            "description": "string",
            "enableHyperTable": "string",
            "isView": "string",
            "sqlQueryScript": "string or null",
            "value": "string",
            "tagRelationFieldMappings": [
                {
                    "fieldName": "string",
                    "description": "string or null",
                    "isIdentity": bool
                }
            ]
        }
    }
    
    https://api.icube.co.th/integration/webapi/tag/value?mode=read
    https://api.icube.co.th/integration/webapi/tagrelation/TagRelationData3/value
    https://{api_base_url}/integration/webapi/tag/B15-Status/value?starttime=*-10d&endtime=*&query=value > 50
    https://{api_base_url}/integration/webapi/tagrelation/value?name=bronze_relation_raw,Testmultiple&starttime=*-5mo&endtime=*&statusData=9
    https://{api_base_url}/integration/webapi/tagrelation/TagRelationData3/value

    A filter for the status of the tag values, acting like a WHERE clause in PostgreSQL (only integer).

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    The value of the tag.

    unit

    string

    Unit of measurement for the tag value.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    Status filter for the tag relation values

    -

    Go back (e.g., *-10y means go back 10 years)

    *

    Present

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    tel

    string

    Telephone number associated with the tag relation.

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    tagType

    string

    Data type of the tag (e.g., Integer, Double).

    tagSource

    string

    Source of the tag data (e.g., Normal tag).

    tagMode

    string

    Mode of the tag (e.g., Default).

    unit

    string

    Unit of measurement for the tag, if applicable.

    value

    string

    URL or current value of the tag.

    isView

    string

    Indicates if the tag relation is a view.

    sqlQueryScript

    string/null

    SQL script associated with the tag relation, if available.

    value

    string

    URL or current value of the tag relation.

    tagRelationFieldMappings

    array

    List of field mappings associated with the tag relation.

    fieldName

    string

    Name of the field in the mapping.

    description

    string/null

    Description of the field, if available.

    isIdentity

    bool

    Indicates if the field is an identity field.

    GET

    Get tagrelations

    Fetches a list of tagrelation

    GET

    Get tag by tagname

    Fetches detailed information about a specific tagidentified by its name.

    GET

    Get tagrelation by tagrelation name

    Fetches detailed information about a specific tag relationidentified by its name.

    GET

    Get single tag value

    Fetches the value of a specifictag identified by its name

    GET

    Get single tagrelation value

    Fetches the value of a specifictagrelationidentified by its name

    GET

    Get multiple tags values

    Fetches the values of specified tags identified by their names

    GET

    Get multiple tagrelations values

    Fetches the values of specified tagrelations identified by their names

    POST

    Get multiple tags values (with Body)

    Fetches the values of specified tags based on the provided criteria

    POST

    Get multiple tagrelations values (with Body)

    Fetches the values of specified tagrelations based on the provided criteria

    POST

    Insert multiple tag values

    Writes the specified tagvalues

    POST

    Insert multiple tagrelation values

    Writes the specified tagrelationvalues

    PUT

    Update multiple tag values

    Updates the specified values for the tagwith GUID

    PUT

    Update multiple tagrelation values

    Updates the specified values for the tagrelation

    Get service lists
    Get connection
    Get tags

    *

    Present

    -

    Go back (e.g., *-10y means go back 10 years)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    Value associated with the tag.

    unit

    string

    Unit of measurement for the tag value.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • True: Use this when need to update the status of data

    • False: Use this when don't need to update the status of data

    (Default: updateStatus=False)

    clearAll

    bool

    Clear records of data

    • True: Use this when need to clear all records of data before insert the new one

    • False: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=False)

    tagnames

    string

    Comma-separated list of tag names to retrieve values for (e.g., VT-01,B15-Status)

    starttime

    string

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    string

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    integer

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Additional description of the tag (if available).

    Status filter for the tag values

    tagRelationValueId

    int

    Unique identifier for the tag relation value.

    timeStamp

    datetime

    Timestamp of when the values are recorded.

    fieldValues

    array

    An array of field value objects, each containing:

    field_Id

    int

    Unique identifier for the field.

    value

    variant

    The value associated with the field, which can be one of the following data types:

    string

    Represents text data.

    int

    Represents integer data.

    big int

    Represents large integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.

    message

    string

    Success message indicating the result of the write operation.

    *

    Present

    -

    Go back (e.g., *-10y means go back 10 years)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    Current value of the tag.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    query

    No

    A condition to filter the results, acting like a WHERE clause in PostgreSQL.

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag, if available.

    subDescription

    string/null

    Sub-description of the tag, if available.

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    tel

    string

    Telephone number associated with the tag relation.

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    name

    Yes

    Comma-separated list of tag relation names to retrieve values for (e.g., bronze_relation_raw,Testmultiple).

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    No

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year

    data

    array

    Array of tag relation value objects returned from the API.

    tagRelationName

    string

    Name of the tag relation.

    Id

    string

    Unique identifier for the tag relation entry.

    name

    string

    Name associated with the tag relation.

    A filter for the status of the tag relation values, acting like a WHERE clause in PostgreSQL (only integer).

    tagRelationValueId

    int

    Unique identifier for the tag relation value.

    timeStamp

    datetime

    Timestamp of when the values are recorded.

    fieldValues

    array

    An array of field value objects, each containing:

    field_Id

    int

    Unique identifier for the field.

    value

    variant

    The value associated with the field, which can be one of the following data types:

    string

    Represents text data.

    int

    Represents integer data.

    big int

    Represents large integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.

    message

    string

    Success message indicating the result of the write operation.

    Add Tagrelation Values

    Method: POST

    URL: {{base_url}}/tagrelation/value?mode=write


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • true: Use this when need to update the status of data

    • false: Use this when don't need to update the status of data

    (Default: updateStatus=false)

    clearAll

    bool

    Clear records of data

    • true: Use this when need to clear all records of data before insert the new one

    • false: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=false)


    Request Body:

    The request body must be an array of tag relation value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    tagRelationName

    string

    Name of the tag relation to which the values belong.

    fieldMappings

    array

    An array of field mapping objects for the tag relation.

    timeStamp

    datetime

    Timestamp of the value being written.

    Field Mappings:

    Each object in the fieldMappings array must contain the following parameters:

    Parameter
    Data Type
    Description

    field_Name

    string

    Name of the field being mapped.

    value

    variant

    Value associated with the field. It can be one of the following data types:

    Value Data Types:

    Data Type
    Description

    string

    Represents text data.

    int

    Represents integer data.

    big int

    Represents large integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    message

    string

    Success message indicating the result of the write operation.

    Add Tag Values

    Method: POST

    URL: {{base_url}}/tag/value?mode=write


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • true: Use this when need to update the status of data

    • false: Use this when don't need to update the status of data

    (Default: updateStatus=false)

    clearAll

    bool

    Clear records of data

    • true: Use this when need to clear all records of data before insert the new one

    • false: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=false)


    Request Body:

    The request body must be an array of tag value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    tagname

    string

    Name of the tag to which the value belongs.

    timeStamp

    datetime

    Timestamp of the value being written.

    value

    variant

    Value associated with the tag. It can be one of the following data types:

    Value Data Types:

    Data Type
    Description

    string

    Represents text data.

    int

    Represents integer data.

    double

    Represents floating-point data.

    bool

    Represents boolean values (true/false).


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    message

    string

    Success message indicating the result of the write operation.

    Update Tag Value

    Method: PUT

    URL: {{base_url}}/tag/{tagname}/value


    Request Body:

    The request body must be an array of tag value objects, each containing the following parameters:

    Parameter
    Data Type
    Description

    tagValueId

    GUID

    Unique identifier for the tag value.

    value

    variant

    The value associated with the tag. It can be one of the following data types:

    timeStamp

    datetime

    Timestamp of when the value is recorded.

    Value Data Types:

    Data Type
    Description

    string

    Represents text data.

    int

    Represents integer data.

    boolean

    Represents boolean values (true/false).

    double

    Represents floating-point data.


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    message

    string

    Success message indicating the result of the write operation.

    {
      "tagnames": "tagname,tagname",
      "starttime": "*-10y",
      "endtime": "*",
      "statusData": 9
    }
    
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "unit": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    [
        {
            "tagRelationValueId": integer,
            "timeStamp": "datetime",
            "fieldValues": [
                {
                    "field_Id": integer,
                    "value": "variant"
                },
                {
                    "field_Id": integer,
                    "value": "variant"
                },
                {
                    "field_Id": integer,
                    "value": "variant"
                }
            ]
        }
    ]
    
    {
        "message": "string"
    }
    
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    {
        "data": [
            {
                "tagRelationName": "string",
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    [
        {
            "tagRelationValueId": integer,
            "timeStamp": "datetime",
            "fieldValues": [
                {
                    "field_Id": integer,
                    "value": "variant"
                },
                {
                    "field_Id": integer,
                    "value": "variant"
                },
                {
                    "field_Id": integer,
                    "value": "variant"
                }
            ]
        }
    ]
    
    {
        "message": "string"
    }
    
    https://{api_base_url}/integration/webapi/tagrelation/value?mode=write
    [
        {
            "tagRelationName": "string",
            "fieldMappings": [
                {
                    "field_Name": "string",
                    "value": "variant"
                },
                {
                    "field_Name": "string",
                    "value": "variant"
                },
                {
                    "field_Name": "string",
                    "value": "variant"
                }
            ],
            "timeStamp": "datetime"
        }
    ]
    
    {
        "message": "string"
    }
    
    https://{api_base_url}/integration/webapi/tag/value?mode=write
    [
        {
            "tagname": "string",
            "timeStamp": "datetime",
            "value": "variant"
        },
        {
            "tagname": "string",
            "timeStamp": "datetime",
            "value": "variant"
        }
    ]
    
    {
        "message": "string"
    }
    
    https://{api_base_url}/integration/webapi/tag/B15-Status/value
    [
        {
            "tagValueId": "GUID",
            "value": "variant",
            "timeStamp": "datetime"
        },
        {
            "tagValueId": "GUID",
            "value": "variant",
            "timeStamp": "datetime"
        }
    ]
    
    {
        "message": "string"
    }
    

    Get multiple tags values (with Body)

    Fetches the values of specified tags based on the provided criteria.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value for a specific tag with the mode=read query parameter. In this example, the query specifies that the data should be retrieved in read mode.

    Get multiple tags values

    Fetches the values of specified tags identified by their names, with optional filters for time range and status.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value of specific tags (B15-Status, VT-01) with additional query parameters. In this example:

    • name=B15-Status,VT-01 specifies the tag names being queried.

    Get multiple tagrelations values (with Body)

    Fetches the values of specified tag relations based on the provided criteria.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value for a specific tag relation with the mode=read query parameter. In this example, the query specifies that the data should be retrieved in read mode.

    Retrieve Tag Values

    Method: POST

    URL: {{base_url}}/tag/value?mode=read


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • true: Use this when need to update the status of data

    • false: Use this when don't need to update the status of data

    (Default: updateStatus=false)

    clearAll

    bool

    Clear records of data

    • true: Use this when need to clear all records of data before insert the new one

    • false: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=false)


    Request Body:

    Parameter
    Data Type
    Description

    tagnames

    string

    Comma-separated list of tag names to retrieve values for (e.g., VT-01,B15-Status)

    starttime

    string

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    string

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    integer


    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Example Request Body:


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Additional description of the tag (if available).

    starttime=*-10y sets the start time as 10 years ago.

  • endtime=* indicates no specific end time (or the most recent data).

  • statusData=18 filters the results to include only those with a status data value of 18.

  • Retrieve Tag Values with Filters

    Method: GET

    URL: {{base_url}}/tag/value?name={tagname}&starttime={starttime}&endtime={endtime}&statusData={statusData}


    Query Parameters:

    Parameter
    Required
    Description

    name

    Yes

    Comma-separated list of tag names to retrieve values for (e.g., B15-Status,VT-01).

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    No

    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Response Example:

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag value objects returned from the API.

    tagname

    string

    Name of the tag.

    description

    string/null

    Description of the tag.

    subDescription

    string/null

    Additional description of the tag (if available).

    Retrieve Tagrelation Values

    Method: POST

    URL: {{base_url}}/tagrelation/value?mode=read


    Query Parameters:

    Parameter
    Data Type
    Description

    mode

    string

    Mode of the Request

    • read: Use this mode to retrieve data.

    • write: Use this mode to insert data.

    (Default: mode=read)

    updateStatus

    bool

    Update Status of data

    • true: Use this when need to update the status of data

    • false: Use this when don't need to update the status of data

    (Default: updateStatus=false)

    clearAll

    bool

    Clear records of data

    • true: Use this when need to clear all records of data before insert the new one

    • false: Use this when don't need to clear all records of data before insert the new one

    (Default: clearAll=false)


    Request Body:

    Parameter
    Data Type
    Description

    tagrelations

    string

    Comma-separated list of tag relation names to retrieve values for (e.g., bronze_relation_raw,TagRelationManagementSystem)

    starttime

    string

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    string

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    statusData

    integer


    Time Expression:

    Expression
    Description

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year


    Example Request Body:


    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description

    data

    array

    Array of tag relation value objects returned from the API.

    tagRelationName

    string

    Name of the tag relation.

    Id

    string

    Unique identifier for the tag relation.

    name

    string

    Name associated with the tag relation.

    https://{api_base_url}/integration/webapi/tag/value?mode=read
    {
      "tagnames": "tagname,tagname",
      "starttime": "*-10y",
      "endtime": "*",
      "statusData": 9
    }
    
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "unit": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://{api_base_url}/integration/webapi/tag/value?name=B15-Status,VT-01&starttime=*-10y&endtime=*&statusData=18
    {
        "data": [
            {
                "tagname": "string",
                "description": "string or null",
                "subDescription": "string or null",
                "value": "string",
                "unit": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    
    https://{api_base_url}/integration/webapi/tagrelation/value?mode=read
    {
        "tagrelations": "tagrelationname,tagrelationname",
        "starttime": "*-10y",
        "endtime": "*",
        "statusData": 9
    }
    
    {
        "data": [
            {
                "tagRelationName": "string",
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    

    Status filter for the tag values

    *

    Present

    -

    Go back (e.g., *-10y means go back 10 years)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    Value associated with the tag.

    unit

    string

    Unit of measurement for the tag value.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    A filter for the status of the tag values, acting like a WHERE clause in PostgreSQL (only integer).

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    value

    string

    The value of the tag.

    unit

    string

    Unit of measurement for the tag value.

    quality

    integer

    Quality indicator of the tag value.

    status

    integer

    Status code associated with the tag value.

    timeStamp

    datetime

    Timestamp when the tag value was recorded.

    Status filter for the tag relation values

    -

    Go back (e.g., *-10y means go back 10 years)

    *

    Present

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    tel

    string

    Telephone number associated with the tag relation.

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    Create Token

    การสร้างโทเค็นเพื่อใช้ในการยืนยันตัวตนและกำหนดสิทธิ์การเข้าถึงบริการหรือทรัพยากรต่าง ๆ ผ่าน API

    การสร้าง Token มี 3 ขั้นตอน

    1. Click : กดปุ่มเพิ่ม Token (+ Token)

    iCube Server : Button add token
    1. Information : กรอกรายละเอียด 2.1 Client name : กรอกข้อมูลช่อง "Client name" 2.2 Select : เลือก "Expire Date" เพื่อกำหนดวันหมดอายุของ Token

    iCube Server : Token information
    1. Save : กดปุ่ม Save เพื่อบันทึกการสร้าง Token

    การแก้ไข Token สามารถแก้ไขได้เฉพาะ description เท่านั้น

    iCube Server : Save success

    What is Tag?

    เเท็กคืออะไร?

    Tag : ชื่อแท็กสำหรับการการเก็บข้อมูล เหมาะสำหรับการเก็บข้อมูลของเครื่องจักร, Sensor ต่างๆ และอื่นๆ ที่มีการส่งข้อมูลออกมา 1 รายการ พร้อมทั้งคุณภาพ สถานะ และเวลาของข้อมูลที่เกิดขึ้น

    iCube Server : Tag value

    Attribute

    Attribute
    Description

    Time Series : การจัดเก็บข้อมูลที่เกิดขึ้นตามช่วงเวลาที่กำหนด โดยมีลักษณะเป็นข้อมูลที่ถูกบันทึกหรือวัดผลซ้ำ ๆ ในช่วงเวลาที่แตกต่างกัน (เช่น วินาที นาที ชั่วโมง วัน เป็นต้น) ซึ่งข้อมูลเหล่านี้จะถูกจัดเรียงตามลำดับเวลาอย่างต่อเนื่อง

    Tag

    ชื่อแท็กที่ใช้สำหรับจัดเก็บข้อมูล

    Value

    ค่าที่จัดเก็บอยู่ในแท็ก โดยจัดเก็บในรูปแบบ Time Series

    Quality

    คุณภาพของข้อมูลที่เกิดจากการกระทำกับข้อมูล

    Status

    สถานะที่ใช้แบ่งประเภทของข้อมูล

    Timestamp

    ช่วงเวลาของข้อมูลที่บันทึกเข้าระบบ

    Delete Publisher

    การลบ Publisher

    การลบ Publisher มี 3 ขั้นตอน

    1. Select : เลือก Publisher ที่ต้องการลบ

    iCube Server : Publisher list
    1. Information : เมื่อกดเลือก จะมีการแสดงรายละเอียดของ Publisher และกดปุ่ม Delete

    iCube Server : Publisher information
    1. Confirm : กดปุ่ม Delete อีกครั้งเพื่อยืนยันการลบ Publisher ที่เลือก

    iCube Server : Confirm
    iCube Server : Delete success

    Get single tagrelation value

    Fetches the values of a specific tagrelation identified by its name, along with optional filters for time range and conditions.

    Last Update: 7 NOV 2024

    Example URL

    Note: This endpoint demonstrates querying the value of a specific tag relation (bronze_relation_raw) with additional query parameters. In this example:

    • starttime=*-10d specifies the start time as 10 days ago.

    • endtime=* indicates no specific end time (or the most recent data).

    • query=name like 'K%' filters the results to include only those where the name starts with the letter "K."

    Retrieve Tagrelation Value with Conditions

    Method: GET

    URL: {{base_url}}/tagrelation/{tagrelationname}/value?starttime={starttime}&endtime={endtime}&query={query}


    Query Parameters:

    Parameter
    Required
    Description

    Time Expression:

    Expression
    Description

    Response Example:

    Note: The fields Id, name, and tel are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.

    Response Details:

    Object
    Data Type
    Description
    https://{api_base_url}/integration/webapi/tagrelation/bronze_relation_raw/value?starttime=*-10d&endtime=*&query=name like 'K%'

    *

    Present

    -

    Go back (e.g., *-10d means go back 10 days)

    +

    Go forward (e.g., *+10mo means go forward 10 months)

    quality

    integer

    Quality indicator of the tag relation value.

    status

    integer

    Status code associated with the tag relation value.

    timeStamp

    datetime

    Timestamp when the tag relation value was recorded.

    starttime

    Yes

    Starting time for filtering the data (e.g., *-10y) (Default: starttime=*-10m)

    endtime

    Yes

    Ending time for filtering the data (e.g., *) (Default: endtime=*)

    query

    No

    A condition to filter the results, acting like a WHERE clause in PostgreSQL.

    sec

    Second

    m

    Minute

    h

    Hour

    d

    Day

    mo

    Month

    y

    Year

    data

    array

    Array of tag relation value objects returned from the API.

    Id

    string

    Unique identifier for the tag relation.

    name

    string

    Name associated with the tag relation.

    tel

    string

    Telephone number associated with the tag relation.

    {
        "data": [
            {
                "Id": "string",
                "name": "string",
                "tel": "string",
                "quality": integer,
                "status": integer,
                "timeStamp": "datetime"
            }
        ]
    }
    

    Tag

    ฟังก์ชันแท็ก

    ฟังก์ชันแท็ก คือ ฟังก์ชันหลักสำหรับการสร้างแหล่งเก็บข้อมูล โดยในฟังก์ชันแท็กเองจะแบ่งออกเป็น 2 ส่วน ได้แก่

    1. Tag : ใช้สำหรับเก็บข้อมูลจุดต่อจุด

    What is Tag?
    1. TagRelation : ใช้สำหรับการเก็บข้อมูลจากหลาย ๆ คอลัมน์แล้วนำมารวบรวมเป็นชุดข้อมูล

    What is TagRelation?

    Group configuration

    การจัดการกลุ่มของผู้ใช้งานบน iCube Platform

    รอใส่รูป

    Group configuration : หน้าจัดการและตั้งค่ากลุ่มของผู้ใช้งานภายในระบบ โดยมีฟังก์ชันต่าง ๆ ที่ช่วยให้ผู้ดูแลระบบสามารถจัดการสิทธิ์และการเข้าถึงของผู้ใช้แบบกลุ่มได้อย่างรวดเร็ว รวมถึงการสร้างกลุ่มใหม่, การกำหนดกลุ่มของผู้ใช้งาน, การกำหนดบทบาท (Role), การลบกลุ่มของผู้ใช้, และการกำหนดสิทธิ์ในการเข้าถึงข้อมูลหรือฟังก์ชันต่าง ๆ ภายในระบบ

    Function
    Description
    Create Group

    การเพิ่มกลุ่มของผู้ใช้งานเข้าสู่ระบบ

    Update Group

    การอัพเดตกลุ่มของผู้ใช้ในระบบ

    Delete Group

    การลบกลุ่มของผู้ใช้ในระบบ

    Delete Group

    การลบกลุ่มของผู้ใช้งาน

    1. Select : คลิกเลือกผู้ใช้งานที่ต้องการลบ

    iCube Server : User list
    1. Click : เมื่อกดเลือก จะมีการแสดงรายละเอียดของกลุ่มของผู้ใช้งานและกดปุ่ม Delete

    iCube Server : User information
    1. Confirm : กดปุ่ม Delete เพื่อยืนยันการลบ

    iCube Server : Confirm
    iCube Server : Delete success

    Create Publisher

    การสร้าง Publisher

    1. Click : กดปุ่มเพิ่ม Publisher ( + Publisher )

    iCube Server : Button add publisher
    1. Publisher name : กรอกชื่อ Publisher name

    iCube Server : Publisher information
    1. Select : เลือก Interface ที่ต้องการโอนย้ายข้อมูล

    1. Click : กดปุ่ม Check connect

    1. Mapping Mode

    Tag : เปิดใช้งานได้กับ Interface ที่เชื่อมต่อกับ iCube Server

    Tag : เลือก Mapping กับ alias name

    TagRelation : เลือก TagRelation กับ Table และ Field กับ Column

    • Add Column : กดไอคอน (+) เพื่อเพิ่ม Column

    • Static value : เพิ่ม Column สำหรับพิมพ์ข้อมูลแบบกำหนดเอง

    1. Merge Type : รูปแบบการเพิ่มข้อมูล Replace Duplicate: ฟังก์ชันที่ใช้ในการเพิ่มข้อมูลใหม่ หากพบข้อมูลซ้ำจะทำการอัปเดตข้อมูลเดิมตาม Identity ที่ระบุไว้ Clear all & Insert: ฟังก์ชันที่ทำการล้างข้อมูลทั้งหมดจากแหล่งข้อมูลก่อน แล้วทำการเพิ่มข้อมูลใหม่เข้าไปในระบบตามที่ระบุ

    1. Scheduler : กำหนดรอบเวลาในการโอนย้ายข้อมูล

    Scheduler เป็นการสร้างและจัดการตารางการทำงาน (Schedule) จากเมนู Scheduling ที่ได้สร้างไว้ล่วงหน้า เพื่อกำหนดเวลาหรือการดำเนินงานของกระบวนการต่าง ๆ

    1. Status filter : คัดเลือก Status ของข้อมูลก่อนโอนย้าย

    1. Validate Execution : ทดสอบการการโอนย้ายข้อมูล

    2. Save : กด Save เพื่อบันทึกการตั้งค่า

    iCube Server : Publisher information
    iCube Server : Publisher information
    iCube Server : Tag mapping
    iCube Server : TagRelation mapping
    iCube Server : Field mapping
    iCube Server : Merge Type
    iCube Server : Status filter

    Create Role

    การสร้าง Role

    1. Click : กดปุ่มเพิ่ม Role (+ Role)

    iCube Server : Button add role
    1. Information : กรอกรายละเอียดและเลือก Service ที่ต้องการเปิดให้กับ Role ที่สร้าง

    iCube Server : Role information
    1. Save : กดปุ่ม Save เพื่อบันทึกการสร้าง Role

    iCube Server : Add success