레이아웃 종류

 

위부터 LinearLayout

 

밑은 RelativeRayout 

 

옆은 FrameLayout

 

 

 

layout_marginLeft 남은 여백을 말한다

 

gravity  끌어옴

 

 

super == > 부모의 메서드를 불러오고 싶을때

 

증조 할머니 뻘은 이름 써서 가져와야한다

 

 

 

이게 이리된다

음...

레이아웃과

위치를 계산할줄 아야야 한다

그리고 함수의 이름을 잘 알아야 

만들었고

이렇게 하면된다

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android = "http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background= "#FFFF00"
    android:orientation="vertical"
    android:weightSum="10"
    >
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        android:textSize="28dp"
        android:textColor="#000000"
        android:layout_weight="4"
        android:gravity="center"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#FF9999"
        android:layout_weight="4"
        android:gravity="center"
        >
        <FrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            >
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Good Bye~"
                android:textSize="28dp"
                android:textColor="#000000"
                android:background="#00FF00"
                android:layout_gravity="center"
                android:layout_margin="10dp"
                />
            <FrameLayout
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:layout_gravity="right|top"
                >

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="@drawable/talk_bg"
                    android:layout_gravity="center"
                    />

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="3"
                    android:textSize="12dp"
                    android:textColor="#FFFF00"
                    android:gravity="center"
                    />
            </FrameLayout>
        </FrameLayout>
    </LinearLayout>
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Hi!"
        android:textSize="28dp"
        android:textColor="#000000"
        android:background="#3333FF"
        android:layout_weight="2"
        android:gravity="center"
        />
</LinearLayout>


블로그 이미지

Or71nH

,

X-DAS-0.9.0_190915.vol6.egg
10.00MB
X-DAS-0.9.0_190915.vol7.egg
10.00MB
X-DAS-0.9.0_190915.vol8.egg
10.00MB
X-DAS-0.9.0_190915.vol9.egg
10.00MB
X-DAS-0.9.0_190915.vol10.egg
10.00MB
X-DAS-0.9.0_190915.vol11.egg
7.50MB

 

블로그 이미지

Or71nH

,

X-DAS-0.9.0_190915.vol1.egg
10.00MB
X-DAS-0.9.0_190915.vol2.egg
10.00MB
X-DAS-0.9.0_190915.vol3.egg
10.00MB
X-DAS-0.9.0_190915.vol4.egg
10.00MB
X-DAS-0.9.0_190915.vol5.egg
10.00MB

 

'[ 충남인력개발원 ] (2019) > ┗SCADA' 카테고리의 다른 글

X-SCADA자바스크립트 함수 리스트  (0) 2020.01.29
X-SCADA X-DAS 다운로드 2 6~11  (0) 2020.01.28
또다른 OPC KEP써버  (0) 2020.01.28
X-SCADA OPC 실습  (2) 2020.01.28
OPC 다운로드 2 6~11  (0) 2020.01.28
블로그 이미지

Or71nH

,

### X-SCADA OPC 통신  ###

 


다운로드

 

X-SCADA.zip
0.01MB

 


 

### 프로그램 설계도 ###

 

### 프로그램 해석도 ###

 

OPC 통신 만들기

 

  1. 통신 IO 만들기
    1. IO 설정 참고
  2. 시각적 표시 만들기
    1. 텍스트 설정

### 연동 프로그램 ###

 

 

Prosys OPC UA Simulation Server

'+++++소스코드+++++ > X-SCADA' 카테고리의 다른 글

온도에 따른 알람 표시  (0) 2020.02.14
수위에 따른 물탱크 조절  (0) 2019.12.30
블로그 이미지

Or71nH

,

http://www.opchub.com/

 

http://www.opchub.com/

Allen-Bradley (Rockwell) BACnet DNP3 IEC-60870-5-101 / 104 IEC-61850 (MMS Client) Fanuc CNC General Electric (GE) LS산전 XGT / Glofa / Master-K Manufacturing Suite (100여개 drivers) Mitsubishi (Melsec) Modbus (TCP / RTU / ASCII) ODBC (SQL Server / Oracle / MyS

www.opchub.com

 

 

실행하면 이렇게 뜬다

 

작은창은

 요기에 OPC UA Configuration 을 누르면 나온다

사용할 서버를 만들어주고 시작한다

저기 들어가보면 여러가지 태그가 있다

전에 만들어준곳에 장치 추가해보자

간단하게 쓰자

애도 이통신으로

이렇게 KEP 를 만들어 주었다

근데

안됨

 


그냥 넘어 간다고 하신다

통신을 만들때는 집접 만드는  게 좋은거 같다

 

'[ 충남인력개발원 ] (2019) > ┗SCADA' 카테고리의 다른 글

X-SCADA X-DAS 다운로드 2 6~11  (0) 2020.01.28
X-SCADA X-DAS 다운로드 1 1~ 5  (0) 2020.01.28
X-SCADA OPC 실습  (2) 2020.01.28
OPC 다운로드 2 6~11  (0) 2020.01.28
OPC 다운로드 1 1~5  (0) 2020.01.28
블로그 이미지

Or71nH

,