C# 클래스 WindowsIoT_Raspberry_Pi.MainPage

상속: global::Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: iamelectron/RaspberryP2_Automation

공개 프로퍼티들

프로퍼티 타입 설명
Current MainPage
last_received byte[]
lastitem dev_info

공개 메소드들

메소드 설명
MainPage ( ) : Rasp_Final
azure_work ( object sender, EventArgs e ) : void
data_received ( byte data_byte ) : void
nrf_send_data ( byte tx_packet, byte device_id, packet_type req_type, bool fullbyte = false ) : void

Send Data Packet

statusbar_string ( string st_status, bool error ) : void

StatusBar message

update_devicelist ( dev_info dev ) : void

Update Device list with latest value

비공개 메소드들

메소드 설명
Connect ( int connectionId, object target ) : void
CreateBitmapFromElement ( FrameworkElement uielement ) : Task
GetBindingConnector ( int connectionId, object target ) : global::Windows.UI.Xaml.Markup.IComponentConnector
Init_Hard ( ) : void
InitializeComponent ( ) : void
MessageReceived ( DatagramSocket socket, DatagramSocketMessageReceivedEventArgs eventArguments ) : void

MessageReceived event

Timer_Tick ( object sender, object e ) : void
appBarButton_Click ( object sender, RoutedEventArgs e ) : void
autoupdate_timer_Tick ( object sender, object e ) : void
azureMonitor_tick ( object sender, object e ) : void
button_Click ( object sender, RoutedEventArgs e ) : void
deviceList_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
do_job ( string addrs, string msg_string, string port_, string local_addr_ ) : void

Receive data and remote address here + pass to controls

init_spi ( ) : Task

init spi

multi_cast ( ) : void

initialize multicast

scan_slave_Checked ( object sender, RoutedEventArgs e ) : void
scan_slave_Unchecked ( object sender, RoutedEventArgs e ) : void
scan_slaves_proc ( object sender, object e ) : void
screenshot_Click ( object sender, RoutedEventArgs e ) : void
send_byte ( byte info ) : void

multi cast byte

send_string ( string info, bool isinternal = false ) : void

multi cast string

toggleSwitch_Toggled ( object sender, RoutedEventArgs e ) : void

메소드 상세

MainPage() 공개 메소드

public MainPage ( ) : Rasp_Final
리턴 Rasp_Final

azure_work() 공개 메소드

public azure_work ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

data_received() 공개 메소드

public data_received ( byte data_byte ) : void
data_byte byte
리턴 void

nrf_send_data() 공개 메소드

Send Data Packet
public nrf_send_data ( byte tx_packet, byte device_id, packet_type req_type, bool fullbyte = false ) : void
tx_packet byte 6 byte wide byte packet
device_id byte
req_type packet_type
fullbyte bool
리턴 void

statusbar_string() 공개 메소드

StatusBar message
public statusbar_string ( string st_status, bool error ) : void
st_status string status message
error bool error or message
리턴 void

update_devicelist() 공개 메소드

Update Device list with latest value
public update_devicelist ( dev_info dev ) : void
dev dev_info dev_info object
리턴 void

프로퍼티 상세

Current 공개적으로 정적으로 프로퍼티

public static MainPage,WindowsIoT_Raspberry_Pi Current
리턴 MainPage

last_received 공개적으로 프로퍼티

public byte[] last_received
리턴 byte[]

lastitem 공개적으로 프로퍼티

public dev_info lastitem
리턴 dev_info